aboutsummaryrefslogtreecommitdiffstats
path: root/Operations.hs
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
commit4ad18160e0c2c9b3421745332a42f5c5695a8a55 (patch)
tree861b0f3c9cdb2e0ae8773e4d2e37983d2c30d54a /Operations.hs
parentbd0fc913d2f1b408b8f24cf11dbe449c9cebbe05 (diff)
downloadxmonad-4ad18160e0c2c9b3421745332a42f5c5695a8a55.tar.gz
xmonad-4ad18160e0c2c9b3421745332a42f5c5695a8a55.tar.xz
xmonad-4ad18160e0c2c9b3421745332a42f5c5695a8a55.zip
Use the new StackSet.screens in windows
darcs-hash:20070924090523-a5988-cbbea53308246329a662ede2e2ab8f3ef0e555b8.gz
Diffstat (limited to 'Operations.hs')
-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)