aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
commit0a11f1607b9f3623dce287d4940bb925b533a340 (patch)
tree381726321744f6e0ad4e454409dc74498965c82c /popup.c
parent8f2b5d714a9f854c9583cab8bae70a2c7323fa00 (diff)
parent9a65102bfc2ed5d1e1f41e47451b8296c84f133d (diff)
downloadrtmux-0a11f1607b9f3623dce287d4940bb925b533a340.tar.gz
rtmux-0a11f1607b9f3623dce287d4940bb925b533a340.tar.bz2
rtmux-0a11f1607b9f3623dce287d4940bb925b533a340.zip
Merge branch 'obsd-master'
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..8359397c 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_state(pd->item)->event.m;
else
m = NULL;
new_item = cmdq_get_command(pr->cmdlist, fs, m, 0);