From f30449738b5c1f36923e3201c18db401fae9086b Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 8 Feb 2020 10:09:33 +0200 Subject: [PATCH] client: set overlap in menu_with_options --- client/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common/common.c b/client/common/common.c index f36fdf1..9d085c3 100644 --- a/client/common/common.c +++ b/client/common/common.c @@ -392,6 +392,7 @@ menu_with_options(const struct client *client) bm_menu_set_bottom(menu, client->bottom); bm_menu_set_monitor(menu, client->monitor); bm_menu_set_scrollbar(menu, client->scrollbar); + bm_menu_set_panel_overlap(menu, !client->no_overlap); for (uint32_t i = 0; i < BM_COLOR_LAST; ++i) bm_menu_set_color(menu, i, client->colors[i]); @@ -411,7 +412,6 @@ run_menu(const struct client *client, struct bm_menu *menu, void (*item_cb)(stru { bm_menu_set_highlighted_index(menu, client->selected); bm_menu_grab_keyboard(menu, true); - bm_menu_set_panel_overlap(menu, !client->no_overlap); if (client->ifne && !bm_menu_get_items(menu, NULL)) return BM_RUN_RESULT_CANCEL;