summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/XUtil.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XUtil.hsc b/src/XUtil.hsc
index 02fd34e..9cb1def 100644
--- a/src/XUtil.hsc
+++ b/src/XUtil.hsc
@@ -184,7 +184,7 @@ printString dpy drw fs@(Xft fonts) _ fc bc x y s al = do
when (al == 255) $ do
(a,d) <- textExtents fs s
gi <- xftTxtExtents' dpy fonts s
- drawXftRect draw bc' (x - 1) (y - a) (1 + xglyphinfo_xOff gi) (a + d + 2)
+ drawXftRect draw bc' (x - 1) (y - a) (2 + xglyphinfo_xOff gi) (a + d + 2)
drawXftString' draw fc' fonts (toInteger x) (toInteger y) s
#endif