mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
Swap the order that windows are mapped/unmapped. Addresses #322
This commit is contained in:
parent
02ed1cabdc
commit
2b854ee47c
@ -155,13 +155,13 @@ windows f = do
|
|||||||
|
|
||||||
whenJust (W.peek ws) $ \w -> io $ setWindowBorder d w fbc
|
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
|
-- hide every window that was potentially visible before, but is not
|
||||||
-- given a position by a layout now.
|
-- given a position by a layout now.
|
||||||
mapM_ hide (nub (oldvisible ++ newwindows) \\ visible)
|
mapM_ hide (nub (oldvisible ++ newwindows) \\ visible)
|
||||||
|
|
||||||
mapM_ reveal visible
|
|
||||||
setTopFocus
|
|
||||||
|
|
||||||
-- all windows that are no longer in the windowset are marked as
|
-- all windows that are no longer in the windowset are marked as
|
||||||
-- withdrawn, it is important to do this after the above, otherwise 'hide'
|
-- withdrawn, it is important to do this after the above, otherwise 'hide'
|
||||||
-- will overwrite withdrawnState with iconicState
|
-- will overwrite withdrawnState with iconicState
|
||||||
|
Loading…
x
Reference in New Issue
Block a user