summaryrefslogtreecommitdiffstats
path: root/popup.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-02-01 20:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2022-02-01 20:01:13 +0000
commita5cf7a9b39b2f9737c2a9c4915274ab66b1824b9 (patch)
tree487a1841c4781886f743862d4a77b71385414dda /popup.c
parenta4f336a91a4bc340111dd72abd894d75093566d7 (diff)
parent97900d0442252aa4b76f89745718038f39717ecd (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popup.c b/popup.c
index 9eb663eb..1048af60 100644
--- a/popup.c
+++ b/popup.c
@@ -565,10 +565,10 @@ popup_key_cb(struct client *c, void *data, struct key_event *event)
menu:
pd->menu = menu_create("");
if (pd->flags & POPUP_INTERNAL) {
- menu_add_items(pd->menu, popup_internal_menu_items, NULL, NULL,
+ menu_add_items(pd->menu, popup_internal_menu_items, NULL, c,
NULL);
} else
- menu_add_items(pd->menu, popup_menu_items, NULL, NULL, NULL);
+ menu_add_items(pd->menu, popup_menu_items, NULL, c, NULL);
if (m->x >= (pd->menu->width + 4) / 2)
x = m->x - (pd->menu->width + 4) / 2;
else