From e8a8591201ce5d103e026b65430862e24b3b73be Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 18 Sep 2022 02:50:11 +0100 Subject: fix for -f-with_xrender build --- src/Xmobar/X11/CairoDraw.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3