From d0f547be5380ec14cc334b15a530ba869668581a Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 11 Sep 2022 02:27:56 +0100 Subject: cairo: alpha (still pseudo, via xrender) --- src/Xmobar/X11/XlibDraw.hs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Xmobar/X11/XlibDraw.hs') 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) -- cgit v1.2.3