summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-13 18:24:48 +0100
committerjao <jao@gnu.org>2022-08-13 18:24:48 +0100
commitb314853838a6a3239a301014d986f7cc99318e4d (patch)
treec0327ca3f7223efde1f3ca5c345cce4d69c2057e /src/Xmobar
parent1136c5da379db5034a4bf41236ad868d7fd479a4 (diff)
downloadxmobar-b314853838a6a3239a301014d986f7cc99318e4d.tar.gz
xmobar-b314853838a6a3239a301014d986f7cc99318e4d.tar.bz2
fix: default to textOffset for missing textOffsets entries
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/X11/Loop.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/X11/Loop.hs b/src/Xmobar/X11/Loop.hs
index 631855c..2d97733 100644
--- a/src/Xmobar/X11/Loop.hs
+++ b/src/Xmobar/X11/Loop.hs
@@ -81,7 +81,7 @@ x11Loop conf = do
fl <- mapM (initFont d) (additionalFonts conf)
let ic = Map.empty
to = textOffset conf
- ts = textOffsets conf ++ replicate (length fl) (-1)
+ ts = textOffsets conf ++ replicate (length fl) to
#ifdef XFT
xftInitFtLibrary
#endif