summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-09-24 11:05:23 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-09-24 11:05:23 +0200
commit1b33f714ab264576e9d064128f0bc96eb1ef436f (patch)
tree861b0f3c9cdb2e0ae8773e4d2e37983d2c30d54a
parent2c74264ba0367a5a1554e517821e63f2c474032d (diff)
downloadmetatile-1b33f714ab264576e9d064128f0bc96eb1ef436f.tar
metatile-1b33f714ab264576e9d064128f0bc96eb1ef436f.zip
Use the new StackSet.screens in windows
darcs-hash:20070924090523-a5988-cbbea53308246329a662ede2e2ab8f3ef0e555b8
-rw-r--r--Operations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Operations.hs b/Operations.hs
index e516381..2a52e2d 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -121,7 +121,7 @@ windows f = do
d <- asks display
-- for each workspace, layout the currently visible workspaces
- let allscreens = W.current ws : W.visible ws
+ let allscreens = W.screens ws
summed_visible = scanl (++) [] $ map (W.integrate' . W.stack . W.workspace) allscreens
visible <- fmap concat $ forM (zip allscreens summed_visible) $ \ (w, vis) -> do
let n = W.tag (W.workspace w)