From 77d5b0cc538138fd036dca0f9b2ba198a94c009d 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. --- cmd-if-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-if-shell.c') diff --git a/cmd-if-shell.c b/cmd-if-shell.c index a385f9f7..ee056520 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -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