summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-06-06 02:46:03 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-06-06 02:46:03 +0200
commitf1890dc54bb25a1d033c8179a64cc61ab4f82a9d (patch)
tree4d864e9a81230b95ded7cfed6751cccfc735fc00 /Operations.hs
parent6642404dc5482f737221de075c0fc9a63cdda91d (diff)
downloadmetatile-f1890dc54bb25a1d033c8179a64cc61ab4f82a9d.tar
metatile-f1890dc54bb25a1d033c8179a64cc61ab4f82a9d.zip
simplify code
darcs-hash:20070606004603-9c5c1-2bae3b2eb4287ea0bc349d6f590f39626adbb985
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 5ed65e8..50484c3 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -139,7 +139,7 @@ windows f = do
rs <- doLayout l (Rectangle
(sx + fromIntegral gl) (sy + fromIntegral gt)
(sw - fromIntegral (gl + gr)) (sh - fromIntegral (gt + gb))) tiled
- mapM_ (\(win,rect) -> tileWindow win rect) rs
+ mapM_ (uncurry tileWindow) rs
-- now the floating windows:
-- move/resize the floating windows, if there are any