summaryrefslogtreecommitdiffstats
path: root/lib/Storage.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-02-27 16:18:48 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-02-27 16:18:48 +0100
commit016dc1e4b7e90c3e83f29a3575aa800f193cc8be (patch)
tree0551b32c906fc66ec359996f8aba9322d1a3163e /lib/Storage.hs
parent0b80dad888724f0ba8a5cb5bad06bedfc7a69572 (diff)
downloadxmonad-conf-016dc1e4b7e90c3e83f29a3575aa800f193cc8be.tar
xmonad-conf-016dc1e4b7e90c3e83f29a3575aa800f193cc8be.zip
Allow moving whole processes to other workspaces
Diffstat (limited to 'lib/Storage.hs')
-rw-r--r--lib/Storage.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Storage.hs b/lib/Storage.hs
index d8fae48..7f68b15 100644
--- a/lib/Storage.hs
+++ b/lib/Storage.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE DeriveDataTypeable, ExistentialQuantification, TypeSynonymInstances, MultiParamTypeClasses, ScopedTypeVariables, FlexibleInstances, PatternGuards #-}
+{-# LANGUAGE DeriveDataTypeable, ExistentialQuantification, TypeSynonymInstances, MultiParamTypeClasses, FlexibleInstances, PatternGuards #-}
module Storage ( StoreData
, Storage
@@ -16,7 +16,6 @@ import Control.Applicative ((<$>))
import Control.Monad
import Data.IORef
-import qualified Data.Map as M
import Data.Maybe
import Data.Typeable
@@ -35,11 +34,11 @@ instance (StoreData d) => LayoutModifier (Storage d) a where
modifierDescription _ = "Storage"
handleMess (Storage d) m
- | Just (GetStoreData ref :: StorageMessage d) <- fromMessage m = do
+ | Just (GetStoreData ref) <- fromMessage m = do
io $ writeIORef ref $ Just d
return $ Nothing
- | Just (SetStoreData d' :: StorageMessage d) <- fromMessage m = do
+ | Just (SetStoreData d') <- fromMessage m = do
return $ Just $ Storage d'
handleMess _ _ = return Nothing