summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/XlibDraw.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar/X11/XlibDraw.hs')
-rw-r--r--src/Xmobar/X11/XlibDraw.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Xmobar/X11/XlibDraw.hs b/src/Xmobar/X11/XlibDraw.hs
index 5525b70..9483c16 100644
--- a/src/Xmobar/X11/XlibDraw.hs
+++ b/src/Xmobar/X11/XlibDraw.hs
@@ -63,11 +63,6 @@ drawInPixmap gc p wid ht ~[left,center,right] = do
getWidth (Hspace s,cl,i,_) = return (Hspace s,cl,i,fi s)
fillBackground clr = setForeground d gc clr >> fillRectangle d p gc 0 0 wid ht
-#if XFT
- when (alpha c /= 255)
- (liftIO $ drawBackground d p (bgColor c) (alpha c) (Rectangle 0 0 wid ht))
-#endif
-
withColors d [bgColor c, borderColor c] $ \[bgcolor, bdcolor] -> do
#if XFT
when (alpha c == 255) $ liftIO (fillBackground bgcolor)