summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--news.md10
-rw-r--r--src/ColorCache.hs2
2 files changed, 7 insertions, 5 deletions
diff --git a/news.md b/news.md
index 7ff265b..f499325 100644
--- a/news.md
+++ b/news.md
@@ -12,12 +12,10 @@ _New features_
automatically, by Reto Hablützel
- New monitor, `Locks`, displaying the status of lock keys, by
Patrick Chilton.
- - `PipeReader`'s default text is now configurable, by Reto
- Hablützel.
- - DBUS support: Jochen implemented an extension for DBUS signal
- handling.
+ - Extension for DBUS signal handling (Jochen Keil)
- Hide/Reveal: one can send signals to xmobar and make it (un)hide
itself (Jochen again).
+ - `PipeReader`'s default text is now configurable, by Reto Hablützel.
- Dependencies updated to latest mtl and libmpd (thanks to Sergei
Trofimovich).
- Dependencies on the deprecated dbus-core removed in favour of
@@ -33,6 +31,10 @@ _Bug fixes_
X server by repeatedly allocating colors that, apparently, the
server doesn't know how to get rid of (even when told so!). We're
caching them now and X server memory doesn't grow.
+ - Compilation errors and warnings with GHC 7.6 removed (thanks to
+ Raghavendra D Prabhu for his reports in [github #71]).
+
+[github #71]: https://github.com/jaor/xmobar/issues/71
## Version 0.15 (June 4, 2012)
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