diff options
author | 2020-04-13 13:42:35 +0000 | |
---|---|---|
committer | 2020-04-13 13:42:35 +0000 | |
commit | ee160a9a98d6728ee3cf41bee2242a0c41c0caea (patch) | |
tree | 289959e4e3058e32d734c99878c1724916d47228 /usr.bin/tmux/cmd-if-shell.c | |
parent | Move the NOHOOKS flag into the shared flags. (diff) | |
download | wireguard-openbsd-ee160a9a98d6728ee3cf41bee2242a0c41c0caea.tar.xz wireguard-openbsd-ee160a9a98d6728ee3cf41bee2242a0c41c0caea.zip |
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 6f307ed063b..5be4a8699ab 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.68 2020/04/13 10:59:58 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.69 2020/04/13 13:42:35 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -65,7 +65,7 @@ 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 cmd_find_state *target = cmdq_get_target(item); - struct mouse_event *m = &shared->mouse; + struct mouse_event *m = &shared->event.m; struct cmd_if_shell_data *cdata; char *shellcmd, *cmd; const char *file; |