diff options
author | nicm <nicm> | 2022-02-01 18:12:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-02-01 18:12:20 +0000 |
commit | 97900d0442252aa4b76f89745718038f39717ecd (patch) | |
tree | 1dd2fc5e672174f3a737255f446b48518bcc2316 /menu.c | |
parent | 7e34645fcbe93984461343d67373a29e552fec20 (diff) | |
download | rtmux-97900d0442252aa4b76f89745718038f39717ecd.tar.gz rtmux-97900d0442252aa4b76f89745718038f39717ecd.tar.bz2 rtmux-97900d0442252aa4b76f89745718038f39717ecd.zip |
A menu must be shown on a client, so always give the client when adding
the items. Also fix mode menus.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |