diff options
author | jao <jao@gnu.org> | 2015-05-20 02:11:32 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2015-05-20 02:11:32 +0200 |
commit | 1b4660954574fa06ffe89b2be3865f6e9072308f (patch) | |
tree | f517757140342c113f5319df3d4d4dbefc92014f /src/XUtil.hsc | |
parent | fbffac468012ebf8aeb9ead3c2d45ef6e4a783ac (diff) | |
download | xmobar-1b4660954574fa06ffe89b2be3865f6e9072308f.tar.gz xmobar-1b4660954574fa06ffe89b2be3865f6e9072308f.tar.bz2 |
Umpteenth attempt at background horizontal alignment
Diffstat (limited to 'src/XUtil.hsc')
-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 e37d419..e63c9cb 100644 --- a/src/XUtil.hsc +++ b/src/XUtil.hsc @@ -190,7 +190,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) (2 + xglyphinfo_xOff gi) (a + d + 2) + drawXftRect draw bc' x (y - a) (1 + xglyphinfo_xOff gi) (a + d + 2) drawXftString' draw fc' fonts (toInteger x) (toInteger y) s #endif |