aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-11-19 03:54:40 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-11-19 03:54:40 +0100
commit447954ba87e4597f833bfbfe59696a655664ca65 (patch)
tree50aaf6f10ed971295fab4e9034f5bb73fa542b89 /XMonad
parent3d70c3dc64c35d11471c6537dc127d81882c392f (diff)
downloadxmonad-447954ba87e4597f833bfbfe59696a655664ca65.tar.gz
xmonad-447954ba87e4597f833bfbfe59696a655664ca65.tar.xz
xmonad-447954ba87e4597f833bfbfe59696a655664ca65.zip
Swap the order that windows are mapped/unmapped. Addresses #322
Ignore-this: 22087204f1b84dae98a3cf2b7f116d3f darcs-hash:20091119025440-25a6b-c9cfb15b2d5bc97c6610592b67d9cd098647c824.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Operations.hs6
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