about summary refs log tree commit diff
path: root/overlays/base/patches/dmenu_height.patch
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/base/patches/dmenu_height.patch')
-rw-r--r--overlays/base/patches/dmenu_height.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/overlays/base/patches/dmenu_height.patch b/overlays/base/patches/dmenu_height.patch
new file mode 100644
index 0000000..acda047
--- /dev/null
+++ b/overlays/base/patches/dmenu_height.patch
@@ -0,0 +1,13 @@
+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;