summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2015-02-01 21:47:44 +0100
committerjao <jao@gnu.org>2015-02-01 21:47:44 +0100
commit9a76e3381ccc69e03ebee00155db1fe4779079da (patch)
tree0f6f2b0b161e250abcc8cd17833b2b1eb151f39a
parent558bcbe8964a23fc265909dac2db8b686da291d6 (diff)
downloadxmobar-9a76e3381ccc69e03ebee00155db1fe4779079da.tar.gz
xmobar-9a76e3381ccc69e03ebee00155db1fe4779079da.tar.bz2
Fix for compilation with 7.8
Although i'm not sure what i really fixed
-rw-r--r--src/XUtil.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XUtil.hsc b/src/XUtil.hsc
index 9bd6e6c..8a174f1 100644
--- a/src/XUtil.hsc
+++ b/src/XUtil.hsc
@@ -38,6 +38,7 @@ import Foreign
import Graphics.X11.Xlib hiding (textExtents, textWidth)
import qualified Graphics.X11.Xlib as Xlib (textExtents, textWidth)
import Graphics.X11.Xlib.Extras
+import Graphics.X11.Xrender
import System.Mem.Weak ( addFinalizer )
import System.Posix.Types (Fd(..))
import System.IO
@@ -53,7 +54,6 @@ import qualified System.IO as UTF8 (readFile,hGetLine)
#if defined XFT
import Data.List
import MinXft
-import Graphics.X11.Xrender
#endif
import ColorCache