summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-20 06:14:40 +0100
committerjao <jao@gnu.org>2022-09-20 06:14:40 +0100
commit4140eba65f28f1117ebb14d8e9252770c951c0bd (patch)
tree54a208919cdafb675474f66ced7843b8df838e9c
parent4b4c9fe0a8849fad124a2f75e815e648dafd4969 (diff)
downloadxmobar-4140eba65f28f1117ebb14d8e9252770c951c0bd.tar.gz
xmobar-4140eba65f28f1117ebb14d8e9252770c951c0bd.tar.bz2
fix for -f-with_xrender buildcairo
-rw-r--r--src/Xmobar/Draw/Cairo.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar/Draw/Cairo.hs b/src/Xmobar/Draw/Cairo.hs
index 8fa4c46..a25cca0 100644
--- a/src/Xmobar/Draw/Cairo.hs
+++ b/src/Xmobar/Draw/Cairo.hs
@@ -159,9 +159,9 @@ drawBoxes dctx surf [bi] = drawBBox dctx surf bi
drawBoxes _ _ [] = return ()
#ifndef XRENDER
-drawCairoBackground :: DrawContext -> Surface -> IO ()
+drawCairoBackground :: T.DrawContext -> Surface -> IO ()
drawCairoBackground dctx surf = do
- let (c, _) = readColourName (C.bgColor (dcConfig dctx))
+ let (c, _) = readColourName (C.bgColor (T.dcConfig dctx))
Cairo.renderWith surf $ setSourceColor (c, 1.0) >> Cairo.paint
#endif