summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-06-12 15:49:38 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-06-12 15:49:38 +0200
commitf588fbb5a378f321be8fb0cfa33204ed83508983 (patch)
treeb3a5d3addeb704aac4d0379cbcaf80b9d828aae1 /Operations.hs
parent862973856e142a4a39ab44ea6075c0bf38034cf8 (diff)
downloadmetatile-f588fbb5a378f321be8fb0cfa33204ed83508983.tar
metatile-f588fbb5a378f321be8fb0cfa33204ed83508983.zip
fmt
darcs-hash:20070612134938-9c5c1-6129a754a3a5326ac8147b7d5321438fec38c7fd
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Operations.hs b/Operations.hs
index cc274ce..994b773 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -145,13 +145,13 @@ windows f = do
this = W.view n ws
Just l = fmap fst $ M.lookup n fls
flt = filter (flip M.member (W.floating ws)) (W.index this)
- tiled = W.filter (not . flip M.member (W.floating ws)) . W.stack . W.workspace . W.current $ this
+ tiled = W.filter (not . flip M.member (W.floating ws))
+ . W.stack . W.workspace . W.current $ this
(Rectangle sx sy sw sh) = genericIndex xinesc (W.screen w)
(gt,gb,gl,gr) = genericIndex gaps (W.screen w)
viewrect = Rectangle (sx + fromIntegral gl) (sy + fromIntegral gt)
(sw - fromIntegral (gl + gr)) (sh - fromIntegral (gt + gb))
-
-- just the tiled windows:
-- now tile the windows on this workspace, modified by the gap
rs <- doLayout l viewrect tiled -- `mplus` doLayout full viewrect tiled