summaryrefslogtreecommitdiffstats
path: root/popup.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-13 13:42:35 +0000
committernicm <nicm>2020-04-13 13:42:35 +0000
commit77d5b0cc538138fd036dca0f9b2ba198a94c009d (patch)
treed45462362e56f236d72f3dec9a470ce97b6f3c4a /popup.c
parent53d6b94e8aef09c0494ed8a53191063b605b3127 (diff)
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.c b/popup.c
index 91246538..66c71741 100644
--- a/popup.c
+++ b/popup.c
@@ -305,7 +305,7 @@ popup_key_cb(struct client *c, struct key_event *event)
break;
case CMD_PARSE_SUCCESS:
if (pd->item != NULL)
- m = &cmdq_get_shared(pd->item)->mouse;
+ m = &cmdq_get_shared(pd->item)->event.m;
else
m = NULL;
new_item = cmdq_get_command(pr->cmdlist, fs, m, 0);