diff options
author | 2020-04-13 14:04:25 +0000 | |
---|---|---|
committer | 2020-04-13 14:04:25 +0000 | |
commit | 054f42ac3c11f9c74e2a6c1c031bfd2efb8c013c (patch) | |
tree | bcde0dda957246e42692f39e6356fc8babbeb376 /usr.bin/tmux/cmd-if-shell.c | |
parent | Store a key event not a mouse event in the shared data. (diff) | |
download | wireguard-openbsd-054f42ac3c11f9c74e2a6c1c031bfd2efb8c013c.tar.xz wireguard-openbsd-054f42ac3c11f9c74e2a6c1c031bfd2efb8c013c.zip |
Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 5be4a8699ab..e070ee9eb47 100644 --- a/usr.bin/tmux/cmd-if-shell.c +++ b/usr.bin/tmux/cmd-if-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-if-shell.c,v 1.69 2020/04/13 13:42:35 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.70 2020/04/13 14:04:25 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -63,9 +63,9 @@ static enum cmd_retval cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = cmd_get_args(self); - struct cmdq_shared *shared = cmdq_get_shared(item); + struct cmdq_state *state = cmdq_get_state(item); struct cmd_find_state *target = cmdq_get_target(item); - struct mouse_event *m = &shared->event.m; + struct mouse_event *m = &state->event.m; struct cmd_if_shell_data *cdata; char *shellcmd, *cmd; const char *file; |