From b126dcea02aa3d97dee9cbc0ed6e4773d00ca02f Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Tue, 14 Feb 2023 17:57:56 +0300 Subject: line height variable --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmenu.c') diff --git a/dmenu.c b/dmenu.c index 78c4727..59b9d48 100644 --- a/dmenu.c +++ b/dmenu.c @@ -639,7 +639,7 @@ setup(void) utf8 = XInternAtom(dpy, "UTF8_STRING", False); /* calculate menu geometry */ - bh = drw->fonts->h + 2; + bh = drw->fonts->h + lineheight; lines = MAX(lines, 0); mh = (lines + 1) * bh; promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0; -- cgit v1.2.3