summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Operations.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Operations.hs b/Operations.hs
index 1939ed2..200600c 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -122,9 +122,9 @@ windows f = do
d <- asks display
-- notify non visibility
- let oldvistags = map (W.tag . W.workspace) $ W.current old : W.visible old
- gottenHidden = filter (\w -> elem w oldvistags) $ map W.tag $ W.hidden ws
- sendMessageToWorkspaces Hide gottenHidden
+ let tags_oldvisible = map (W.tag . W.workspace) $ W.current old : W.visible old
+ gottenhidden = filter (`elem` tags_oldvisible) $ map W.tag $ W.hidden ws
+ sendMessageToWorkspaces Hide gottenhidden
-- for each workspace, layout the currently visible workspaces
let allscreens = W.screens ws