commit df2566972ee893214a8fb521fa67bb3e47f8fa74
parent 3fd481ce158fa1825a313b3fcc15b59bb30d9a63
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Tue, 23 Jun 2020 23:11:46 +0200
Change height calculation
It now uses a ratio. It is different than dwm but it will show up as
high as the dwm bar. I'm unsure why, I might investigate some other
time.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -640,7 +640,7 @@ setup(void)
utf8 = XInternAtom(dpy, "UTF8_STRING", False);
/* calculate menu geometry */
- bh = drw->fonts->h + 2;
+ bh = drw->fonts->h * 1.35;
lines = MAX(lines, 0);
mh = (lines + 1) * bh;
#ifdef XINERAMA