diff options
author | Kostas Agnantis <kagnadis@gmail.com> | 2022-11-08 23:43:26 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-11-08 23:43:31 +0100 |
commit | 4bd3eb294e6b8c5960bb20098bcd19c894fafc7e (patch) | |
tree | 977ee14c5167af36337e3452e158d2c60423a617 /src/Xmobar/X11/Draw.hs | |
parent | 34065e8f19e8481c31cb31a55da02b42897a63fe (diff) | |
download | xmobar-4bd3eb294e6b8c5960bb20098bcd19c894fafc7e.tar.gz xmobar-4bd3eb294e6b8c5960bb20098bcd19c894fafc7e.tar.bz2 |
Fixes offset of the pseudo-transparent background
Diffstat (limited to 'src/Xmobar/X11/Draw.hs')
-rw-r--r-- | src/Xmobar/X11/Draw.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/X11/Draw.hs b/src/Xmobar/X11/Draw.hs index b380497..c0a8964 100644 --- a/src/Xmobar/X11/Draw.hs +++ b/src/Xmobar/X11/Draw.hs @@ -88,7 +88,7 @@ draw segments = do #ifdef XRENDER color = C.bgColor conf alph = C.alpha conf - XRender.drawBackground disp p color alph (X11.Rectangle 0 0 w h) + XRender.drawBackground disp p color alph rect #endif CS.withXlibSurface disp p vis (fromIntegral w) (fromIntegral h) render |