summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/Draw.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar/X11/Draw.hs')
-rw-r--r--src/Xmobar/X11/Draw.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Xmobar/X11/Draw.hs b/src/Xmobar/X11/Draw.hs
index 5139aa9..4f14d22 100644
--- a/src/Xmobar/X11/Draw.hs
+++ b/src/Xmobar/X11/Draw.hs
@@ -28,8 +28,6 @@ import Xmobar.Run.Parsers (Segment)
import Xmobar.X11.Types
#ifdef CAIRO
-import Xmobar.Config.Types
-import Xmobar.X11.XRender (drawBackground)
import Xmobar.X11.CairoDraw
#else
import Xmobar.X11.XlibDraw
@@ -48,10 +46,6 @@ drawInWin segments = do
liftIO $ setGraphicsExposures d gc False
#ifdef CAIRO
- let cconf = config xconf
- alph = alpha cconf
- when (alph < 255)
- (liftIO $ drawBackground d p (bgColor cconf) alph (Rectangle 0 0 wid ht))
res <- drawInPixmap gc p segments
#else
res <- updateActions (rect xconf) segments