aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsewn <sewn@disroot.org>2024-04-09 11:12:49 +0300
committeradnano <me@adnano.co>2024-04-14 17:22:09 -0400
commite4c4627eebc57a6af5812c69f6dc3f9992d9c770 (patch)
tree0b7e05d4c68dcdab8f64aa24ba7e93a809899ce0
parentcf6f5b9d06d72ded0b077d6770854d0003c1b4aa (diff)
downloadwmenu-e4c4627eebc57a6af5812c69f6dc3f9992d9c770.tar.gz
make menu height accurate to dwm, dmenu, and dwl's bar patch
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 953aa95..549b730 100644
--- a/menu.c
+++ b/menu.c
@@ -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;