Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam 2021-09-09 22:01:11 +01:00
commit 42b0be4cfd

2
menu.c
View File

@ -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); cmd_find_copy_state(&md->fs, fs);
screen_init(&md->s, menu->width + 4, menu->count + 2, 0); screen_init(&md->s, menu->width + 4, menu->count + 2, 0);
if (~md->flags & MENU_NOMOUSE) if (~md->flags & MENU_NOMOUSE)
md->s.mode |= MODE_MOUSE_BUTTON; md->s.mode |= (MODE_MOUSE_ALL|MODE_MOUSE_BUTTON);
md->s.mode &= ~MODE_CURSOR; md->s.mode &= ~MODE_CURSOR;
md->px = px; md->px = px;