aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2019-03-16 16:05:37 +0100
committerEduardo Pedroni <e.pedroni91@gmail.com>2019-03-16 16:05:37 +0100
commit889e73d974b1c06944c295661ac8529d1fa8fed5 (patch)
treeee8c4c2bdf243db29928eaa4b1c3467da5d8d045
parentfa0a0b650ab64b8cc4918a7ebe1c400f5f13b630 (diff)
Modified font ascent to make up for some change in the dependencies
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index eb330e8..d9c4470 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1292,7 +1292,7 @@ initfont(const char *fontstr) {
&& !(dc.font.xfont = XftFontOpenName(dpy, screen, "fixed")))
die("error, cannot load font: '%s'\n", fontstr);
- dc.font.ascent = dc.font.xfont->ascent;
+ dc.font.ascent = dc.font.xfont->ascent + 3;
dc.font.descent = dc.font.xfont->descent;
dc.font.height = dc.font.ascent + dc.font.descent;
}