From ee160a9a98d6728ee3cf41bee2242a0c41c0caea Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 13 Apr 2020 13:42:35 +0000 Subject: Store a key event not a mouse event in the shared data. --- usr.bin/tmux/cmd-if-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-if-shell.c') 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 @@ -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; -- cgit v1.2.3-59-g8ed1b