summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/X11/Draw.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Xmobar/X11/Draw.hs b/src/Xmobar/X11/Draw.hs
index 643ec13..2d61b67 100644
--- a/src/Xmobar/X11/Draw.hs
+++ b/src/Xmobar/X11/Draw.hs
@@ -54,10 +54,10 @@ drawInWin conf bound@(Rectangle _ _ wid ht) segments = do
liftIO $ setGraphicsExposures d gc False
#if defined(XFT) || defined(CAIRO)
- let conf = config r
- alph = alpha conf
+ let xconf = config r
+ alph = alpha xconf
when (alph < 255)
- (liftIO $ drawBackground d p (bgColor conf) alph (Rectangle 0 0 wid ht))
+ (liftIO $ drawBackground d p (bgColor xconf) alph (Rectangle 0 0 wid ht))
#endif
#ifdef CAIRO