summaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authornicm <nicm>2021-09-09 06:57:48 +0000
committernicm <nicm>2021-09-09 06:57:48 +0000
commit5a4b2fd68c19be99d37b2a3dc9d0bfd7959d1843 (patch)
tree2970d3a074eaf3bb44ede491484243165cd99c3f /menu.c
parent329c2c2a919d3c66b08672ff37af4e2393dc9a95 (diff)
Fix parsing of aliases again (GitHub issue 2842), also make argument
parsing a bit simpler and fix the names of some client flags.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 7fb1996b..d7094f89 100644
--- a/menu.c
+++ b/menu.c
@@ -381,7 +381,7 @@ menu_prepare(struct menu *menu, int flags, struct cmdq_item *item, u_int px,
cmd_find_copy_state(&md->fs, fs);
screen_init(&md->s, menu->width + 4, menu->count + 2, 0);
if (~md->flags & MENU_NOMOUSE)
- md->s.mode |= MODE_MOUSE_ALL;
+ md->s.mode |= MODE_MOUSE_BUTTON;
md->s.mode &= ~MODE_CURSOR;
md->px = px;