diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2009-09-25 21:21:59 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2009-09-25 21:21:59 +0200 |
commit | 03cdb5a152eeb58204dfcac23f64a79646bcf689 (patch) | |
tree | dc1d4b5b6b293a5d8add236bf3f574c1b3443506 /XUtil.hsc | |
parent | df35f664776cbb4b588f9ee71853d2be784364fc (diff) | |
download | xmobar-03cdb5a152eeb58204dfcac23f64a79646bcf689.tar.gz xmobar-03cdb5a152eeb58204dfcac23f64a79646bcf689.tar.bz2 |
fix a few warnings, clean up some recently added stuff, and restrict parsec to <3
Ignore-this: df12dd4ab0ccec4de18b15e77a6150c484bd5ec5
Parsec 3 adds Applicative and Alternative instances which conflict
with the ones needed for version 2 (no other reasons I'm aware of
bind us to parsec-2).
darcs-hash:20090925192159-d6583-efb71dbd01a6d166fc66f8004889f020382280fc.gz
Diffstat (limited to 'XUtil.hsc')
-rw-r--r-- | XUtil.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,6 +28,7 @@ module XUtil , io , fi , withColors + , DynPixel(..) ) where import Control.Concurrent @@ -213,7 +214,6 @@ initColor' dpy c = do withColors :: MonadIO m => Display -> [String] -> ([Pixel] -> m a) -> m a withColors d cs f = do - let cmap = defaultColormap d (defaultScreen d) ps <- mapM (io . initColor d) cs f $ map pixel ps |