summaryrefslogtreecommitdiffhomepage
path: root/src/ColorCache.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-11 02:22:35 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-11 02:23:27 +0200
commitdae17fc79072f447793beb267ee5dcc32d2f983c (patch)
treeb455c6da2e5f87fe2db3eb099997d357224be9b2 /src/ColorCache.hs
parent44f99f3ed3a6af5a2289765fadf4df29887db5c2 (diff)
downloadxmobar-dae17fc79072f447793beb267ee5dcc32d2f983c.tar.gz
xmobar-dae17fc79072f447793beb267ee5dcc32d2f983c.tar.bz2
Fixing compilation sans with_xft
ColorCache.hs nees X11 with or without XFT. Should address github issue #75.
Diffstat (limited to 'src/ColorCache.hs')
-rw-r--r--src/ColorCache.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ColorCache.hs b/src/ColorCache.hs
index 6313a98..e9c5810 100644
--- a/src/ColorCache.hs
+++ b/src/ColorCache.hs
@@ -20,7 +20,6 @@
module ColorCache(withColors, withDrawingColors) where
import MinXft
-import Graphics.X11.Xlib
#else
module ColorCache(withColors) where
@@ -31,6 +30,7 @@ import Data.IORef
import System.IO.Unsafe (unsafePerformIO)
import Control.Monad.Trans (MonadIO, liftIO)
import Control.Exception (SomeException, handle)
+import Graphics.X11.Xlib
data DynPixel = DynPixel Bool Pixel