diff options
author | sewn <sewn@disroot.org> | 2024-04-09 11:12:49 +0300 |
---|---|---|
committer | adnano <me@adnano.co> | 2024-04-14 17:22:09 -0400 |
commit | e4c4627eebc57a6af5812c69f6dc3f9992d9c770 (patch) | |
tree | 0b7e05d4c68dcdab8f64aa24ba7e93a809899ce0 | |
parent | cf6f5b9d06d72ded0b077d6770854d0003c1b4aa (diff) | |
download | wmenu-e4c4627eebc57a6af5812c69f6dc3f9992d9c770.tar.gz |
make menu height accurate to dwm, dmenu, and dwl's bar patch
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ void menu_getopts(struct menu *menu, int argc, char *argv[]) { } int height = get_font_height(menu->font); - menu->line_height = height + 3; + menu->line_height = height + 2; menu->height = menu->line_height; if (menu->lines > 0) { menu->height += menu->height * menu->lines; |