diff options
author | jao <jao@gnu.org> | 2022-09-11 02:27:56 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-11 02:28:18 +0100 |
commit | d0f547be5380ec14cc334b15a530ba869668581a (patch) | |
tree | 764bb33481073aff0f924df9dbce6375f5581995 /src/Xmobar/X11/XlibDraw.hs | |
parent | 65f2bb18a372fc32a95c9887ba7a4006dc4ea24a (diff) | |
download | xmobar-d0f547be5380ec14cc334b15a530ba869668581a.tar.gz xmobar-d0f547be5380ec14cc334b15a530ba869668581a.tar.bz2 |
cairo: alpha (still pseudo, via xrender)
Diffstat (limited to 'src/Xmobar/X11/XlibDraw.hs')
-rw-r--r-- | src/Xmobar/X11/XlibDraw.hs | 5 |
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) |