aboutsummaryrefslogtreecommitdiffstats
path: root/drw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index a58a2b4..0ea9a40 100644
--- a/drw.c
+++ b/drw.c
@@ -135,6 +135,7 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern)
font = ecalloc(1, sizeof(Fnt));
font->xfont = xfont;
+ font->xfont->ascent += font_ascent_pad;
font->pattern = pattern;
font->h = xfont->ascent + xfont->descent;
font->dpy = drw->dpy;