aboutsummaryrefslogtreecommitdiffstats
path: root/SinkAll.hs
diff options
context:
space:
mode:
authorJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:23:59 +0200
committerJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:23:59 +0200
commitfba3418e35ef746d63cb73bd24f7d3babf22ccc8 (patch)
treea462cdb505459f72f0d0417934c44b2cd1d0fa62 /SinkAll.hs
parent5f7d8e9fcd070f30794f68f5b0b91b9d5ce7a974 (diff)
downloadXMonadContrib-fba3418e35ef746d63cb73bd24f7d3babf22ccc8.tar.gz
XMonadContrib-fba3418e35ef746d63cb73bd24f7d3babf22ccc8.tar.xz
XMonadContrib-fba3418e35ef746d63cb73bd24f7d3babf22ccc8.zip
SinkAll.hs: -Wall police.
darcs-hash:20070919212359-928c4-61e91ef6a0c3bf5c4726b73d99710a3e55f8ecc9.gz
Diffstat (limited to '')
-rw-r--r--SinkAll.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/SinkAll.hs b/SinkAll.hs
index 5531e2d..04794cc 100644
--- a/SinkAll.hs
+++ b/SinkAll.hs
@@ -18,7 +18,6 @@ import Operations
import XMonad
import StackSet
-import Control.Monad.State
import Graphics.X11.Xlib
-- $usage
@@ -33,5 +32,5 @@ sinkAll = withAll sink
-- Apply a function to all windows on current workspace.
withAll :: (Window -> WindowSet -> WindowSet) -> X ()
-withAll f = windows $ \ws -> let all = integrate' . stack . workspace . current $ ws
- in foldr f ws all
+withAll f = windows $ \ws -> let all' = integrate' . stack . workspace . current $ ws
+ in foldr f ws all'