summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/Loop.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-12 04:01:51 +0100
committerjao <jao@gnu.org>2022-09-12 04:01:51 +0100
commit15c373076dec81c3245e42250512dea6a75db5e9 (patch)
treec10be286b9e477137a53b4b63fe4148be7f0f6c1 /src/Xmobar/X11/Loop.hs
parenteaf2be9bbcf1b0597a52b14d28e0252ec4714bee (diff)
downloadxmobar-15c373076dec81c3245e42250512dea6a75db5e9.tar.gz
xmobar-15c373076dec81c3245e42250512dea6a75db5e9.tar.bz2
cairo: with_xft deprecated, with_cairo synomym
Diffstat (limited to 'src/Xmobar/X11/Loop.hs')
-rw-r--r--src/Xmobar/X11/Loop.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar/X11/Loop.hs b/src/Xmobar/X11/Loop.hs
index 8b68944..e6feda0 100644
--- a/src/Xmobar/X11/Loop.hs
+++ b/src/Xmobar/X11/Loop.hs
@@ -60,7 +60,7 @@ import Xmobar.Run.Loop (loop)
import Xmobar.X11.Events(nextEvent')
#endif
-#ifdef XFT
+#ifdef CAIRO
import Graphics.X11.Xft
#endif
@@ -77,7 +77,7 @@ x11Loop conf = do
let ic = Map.empty
to = textOffset conf
ts = textOffsets conf ++ replicate (length fl) to
-#ifdef XFT
+#ifdef CAIRO
xftInitFtLibrary
#endif
(r,w) <- createWin d fs conf