From 1b33f714ab264576e9d064128f0bc96eb1ef436f Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Mon, 24 Sep 2007 11:05:23 +0200 Subject: Use the new StackSet.screens in windows darcs-hash:20070924090523-a5988-cbbea53308246329a662ede2e2ab8f3ef0e555b8 --- Operations.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Operations.hs') 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) -- cgit v1.2.3