diff options
Diffstat (limited to 'app/Main.hs')
-rw-r--r-- | app/Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs index b8fa0e2..7d499d8 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -147,7 +147,9 @@ createWindow args = do wspac = args.spacing wleft = wspac fnt <- X.xftFontOpen dpy scr "IosevkaTerm Nerd Font:size=14" - wheight <- X.xftfont_height fnt + ascent <- X.xftfont_ascent fnt + descent <- X.xftfont_descent fnt + let wheight = ascent + descent cmap <- X.createColormap dpy root vis X.allocNone win <- X.allocaSetWindowAttributes $ \attr -> do X.set_colormap attr cmap |