summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Operations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Operations.hs b/Operations.hs
index 0b45b75..ac5bcc9 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -297,7 +297,7 @@ view n = do
ws' <- gets workspace
-- If the old workspace isn't visible anymore, we have to hide the windows
-- in case we're switching to an empty workspace.
- when (m `notElem` (W.visibleWorkspaces ws')) (mapM_ hide (W.index m ws))
+ when (m `notElem` W.visibleWorkspaces ws') (mapM_ hide (W.index m ws))
clearEnterEvents
setTopFocus