summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKostas Agnantis <kagnadis@gmail.com>2022-11-08 23:43:26 +0200
committerGitea <gitea@fake.local>2022-11-08 23:43:31 +0100
commit4bd3eb294e6b8c5960bb20098bcd19c894fafc7e (patch)
tree977ee14c5167af36337e3452e158d2c60423a617
parent34065e8f19e8481c31cb31a55da02b42897a63fe (diff)
downloadxmobar-4bd3eb294e6b8c5960bb20098bcd19c894fafc7e.tar.gz
xmobar-4bd3eb294e6b8c5960bb20098bcd19c894fafc7e.tar.bz2
Fixes offset of the pseudo-transparent background
-rw-r--r--src/Xmobar/X11/Draw.hs2
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