From 97900d0442252aa4b76f89745718038f39717ecd Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 1 Feb 2022 18:12:20 +0000 Subject: A menu must be shown on a client, so always give the client when adding the items. Also fix mode menus. --- menu.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index c770cd7d..aaa1287e 100644 --- a/menu.c +++ b/menu.c @@ -81,8 +81,6 @@ menu_add_item(struct menu *menu, const struct menu_item *item, menu->count--; return; } - if (c->tty.sx <= 4) - return; max_width = c->tty.sx - 4; slen = strlen(s); -- cgit