diff options
author | jao <jao@gnu.org> | 2015-04-20 01:08:57 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2015-04-20 01:08:57 +0200 |
commit | fcb5529708fde14b5e1735c42309cbacd29327c0 (patch) | |
tree | 0ef4b82b29ed4d2aa6159b018c99e23996267954 | |
parent | 5d5fbb8b97429635ee3ce067fe34744147ee1a41 (diff) | |
download | xmobar-fcb5529708fde14b5e1735c42309cbacd29327c0.tar.gz xmobar-fcb5529708fde14b5e1735c42309cbacd29327c0.tar.bz2 |
Horizontal alignment of text background
-rw-r--r-- | src/XUtil.hsc | 2 |
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 |