summaryrefslogtreecommitdiffstats
path: root/popup.c
diff options
context:
space:
mode:
authornicm <nicm>2023-01-20 21:36:00 +0000
committernicm <nicm>2023-01-20 21:36:00 +0000
commit3aa458ea6398b0de37c3e146304bd2a4e17ea3c0 (patch)
treec7940f0d27db91583fd08b9099409a8998a6b087 /popup.c
parent9789ea3fb4b3215e48b3f0024e2c21c50f95edec (diff)
Add a flag to display-menu to select the manu item chosen first, GitHub
issue 3442.
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 12f31c40..250888a8 100644
--- a/popup.c
+++ b/popup.c
@@ -574,7 +574,7 @@ menu:
x = m->x - (pd->menu->width + 4) / 2;
else
x = 0;
- pd->md = menu_prepare(pd->menu, 0, NULL, x, m->y, c, NULL,
+ pd->md = menu_prepare(pd->menu, 0, 0, NULL, x, m->y, c, NULL,
popup_menu_done, pd);
c->flags |= CLIENT_REDRAWOVERLAY;