summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-18 02:50:11 +0100
committerjao <jao@gnu.org>2022-09-18 02:50:11 +0100
commite8a8591201ce5d103e026b65430862e24b3b73be (patch)
treef2e481a6183c83f8cc6a3ffdbee7b109980e3978
parent1d801183a54d3d6bf734d485ace744cdf78f3a77 (diff)
downloadxmobar-e8a8591201ce5d103e026b65430862e24b3b73be.tar.gz
xmobar-e8a8591201ce5d103e026b65430862e24b3b73be.tar.bz2
fix for -f-with_xrender build
-rw-r--r--src/Xmobar/X11/CairoDraw.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/X11/CairoDraw.hs b/src/Xmobar/X11/CairoDraw.hs
index 0007f3e..d66f959 100644
--- a/src/Xmobar/X11/CairoDraw.hs
+++ b/src/Xmobar/X11/CairoDraw.hs
@@ -214,7 +214,7 @@ drawBoxes _ _ [] = return ()
#ifndef XRENDER
drawCairoBackground :: DrawContext -> Surface -> IO ()
drawCairoBackground dctx surf = do
- let (c, _) = readColourName (bgColor (dcConfig dctx))
+ let (c, _) = readColourName (C.bgColor (dcConfig dctx))
Cairo.renderWith surf $ setSourceColor (c, 1.0) >> Cairo.paint
#endif