diff options
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Operations.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Operations.hs b/XMonad/Operations.hs index f4a6bed..9a71872 100644 --- a/XMonad/Operations.hs +++ b/XMonad/Operations.hs @@ -155,13 +155,13 @@ windows f = do whenJust (W.peek ws) $ \w -> io $ setWindowBorder d w fbc + mapM_ reveal visible + setTopFocus + -- hide every window that was potentially visible before, but is not -- given a position by a layout now. mapM_ hide (nub (oldvisible ++ newwindows) \\ visible) - mapM_ reveal visible - setTopFocus - -- all windows that are no longer in the windowset are marked as -- withdrawn, it is important to do this after the above, otherwise 'hide' -- will overwrite withdrawnState with iconicState |