aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-03-10 05:10:21 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-03-10 05:10:21 +0100
commit87f467e21f8e94bf990f0807ebec5fffcd944fb7 (patch)
tree99541c3691384863b9cffc6b0659facdb3a8437f /Main.hs
parent63ca115d4a0b8ec44084cd908dfaed33ebda6c35 (diff)
downloadxmonad-87f467e21f8e94bf990f0807ebec5fffcd944fb7.tar.gz
xmonad-87f467e21f8e94bf990f0807ebec5fffcd944fb7.tar.xz
xmonad-87f467e21f8e94bf990f0807ebec5fffcd944fb7.zip
Reduce flicker on workspace change.
darcs-hash:20070310041021-a5988-ec9227d72c9e307fa271d507f07b13bd1dd65362.gz
Diffstat (limited to '')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index ac9bfd4..ba79f8f 100644
--- a/Main.hs
+++ b/Main.hs
@@ -285,8 +285,8 @@ view o = do
ws <- gets workspace
let m = W.current ws
when (n /= m) $ do
- mapM_ hide (W.index m ws)
mapM_ reveal (W.index n ws)
+ mapM_ hide (W.index m ws)
windows $ W.view n
where n = o-1