summaryrefslogtreecommitdiffstats
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
commite4e6098da9afaade72d756415e1cd85bf1fb0c11 (patch)
tree99541c3691384863b9cffc6b0659facdb3a8437f /Main.hs
parent9178813ae7d46973ab481de38a90911cded935cc (diff)
downloadmetatile-e4e6098da9afaade72d756415e1cd85bf1fb0c11.tar
metatile-e4e6098da9afaade72d756415e1cd85bf1fb0c11.zip
Reduce flicker on workspace change.
darcs-hash:20070310041021-a5988-ec9227d72c9e307fa271d507f07b13bd1dd65362
Diffstat (limited to 'Main.hs')
-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