summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/Loop.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-15 15:34:00 +0100
committerjao <jao@gnu.org>2022-09-15 15:34:00 +0100
commite39f66aac6805d832e8a5bc765ba9b385a20cd16 (patch)
treed97bb6a9b32f1fa30a59cb8eab4e11727b52fdc1 /src/Xmobar/X11/Loop.hs
parent123fbce476fdc8deee41785c0c20c09f0a05da8e (diff)
downloadxmobar-e39f66aac6805d832e8a5bc765ba9b385a20cd16.tar.gz
xmobar-e39f66aac6805d832e8a5bc765ba9b385a20cd16.tar.bz2
new flag: with_xrender
Diffstat (limited to 'src/Xmobar/X11/Loop.hs')
-rw-r--r--src/Xmobar/X11/Loop.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Xmobar/X11/Loop.hs b/src/Xmobar/X11/Loop.hs
index ea1c309..aeaf38a 100644
--- a/src/Xmobar/X11/Loop.hs
+++ b/src/Xmobar/X11/Loop.hs
@@ -58,10 +58,6 @@ import Xmobar.Run.Loop (loop)
import Xmobar.X11.Events(nextEvent')
#endif
-#ifdef CAIRO
-import Graphics.X11.Xft
-#endif
-
runX :: XConf -> X a -> IO a
runX xc f = runReaderT f xc
@@ -72,9 +68,6 @@ x11Loop conf = do
d <- openDisplay ""
fs <- initFont d (font conf)
fl <- mapM (initFont d) (additionalFonts conf)
-#ifdef CAIRO
- xftInitFtLibrary
-#endif
(r,w) <- createWin d fs conf
loop conf (startLoop (XConf d r w (fs :| fl) Map.empty conf))