From 4bd3eb294e6b8c5960bb20098bcd19c894fafc7e Mon Sep 17 00:00:00 2001 From: Kostas Agnantis Date: Tue, 8 Nov 2022 23:43:26 +0200 Subject: Fixes offset of the pseudo-transparent background --- src/Xmobar/X11/Draw.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3