summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-04-08 00:25:59 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-04-08 00:25:59 +0200
commit144efd1d7d5ce3714088b9c3a3a94bef0585caca (patch)
tree412055f87279571c9528bbe9800a5e4e7fb3c5a8
parent86d8f50784ebbc8904b4a2e97927201f247fe8cc (diff)
downloadmetatile-144efd1d7d5ce3714088b9c3a3a94bef0585caca.tar
metatile-144efd1d7d5ce3714088b9c3a3a94bef0585caca.zip
Set focus *after* revealing windows
darcs-hash:20080407222559-a5988-3810dfe1f0a43bb97b39e57e3303bbf90b0d404e
-rw-r--r--XMonad/Operations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Operations.hs b/XMonad/Operations.hs
index 4246912..9f48d9e 100644
--- a/XMonad/Operations.hs
+++ b/XMonad/Operations.hs
@@ -151,10 +151,10 @@ windows f = do
return vs
whenJust (W.peek ws) $ \w -> io $ setWindowBorder d w fbc
- setTopFocus
asks (logHook . config) >>= userCode
mapM_ reveal visible
+ setTopFocus
-- hide every window that was potentially visible before, but is not
-- given a position by a layout now.