about summary refs log blame commit diff
path: root/patches/dmenu_height.patch
blob: acda047f9f67d4e2ff6756439f2a8ee517991d17 (plain) (tree)
1
2
3
4
5
6
7





                                                              
 





                                                                                 
diff --git a/dmenu.c b/dmenu.c
index 0f7d5dd..50012fa 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -867,7 +867,7 @@ setup(void)
   dock = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", False);
 
 	/* calculate menu geometry */
-	bh = drw->fonts->h + 2;
+	bh = drw->fonts->h + 4;
   bh = MAX(bh,lineheight);	/* make a menu line AT LEAST 'lineheight' tall */
 	lines = MAX(lines, 0);
 	mh = (lines + 1) * bh;