diff options
author | jao <jao@gnu.org> | 2015-04-19 04:20:34 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2015-04-19 04:20:34 +0200 |
commit | 5d5fbb8b97429635ee3ce067fe34744147ee1a41 (patch) | |
tree | 9e09d655a711fa38a44731273b835ee2a37a7ae0 | |
parent | 2b165cafcef3ad7f510590fcdbb928ae742ce2f4 (diff) | |
download | xmobar-5d5fbb8b97429635ee3ce067fe34744147ee1a41.tar.gz xmobar-5d5fbb8b97429635ee3ce067fe34744147ee1a41.tar.bz2 |
Background's alignment and size
-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 41ba087..02fd34e 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 (y - a + 1) (xglyphinfo_xOff gi) (a + d + 1) + drawXftRect draw bc' (x - 1) (y - a) (1 + xglyphinfo_xOff gi) (a + d + 2) drawXftString' draw fc' fonts (toInteger x) (toInteger y) s #endif |