summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-10-13 22:43:00 +0200
committerDon Stewart <dons@galois.com>2007-10-13 22:43:00 +0200
commita157d5465632940411e5b8ccbd4e0827216734db (patch)
treec4e7fd7cc287f672f0653c3c601922769bd8d208 /Main.hs
parent64c22dd0d60dd5a9e2cde89a2070427fb96b4f95 (diff)
downloadmetatile-a157d5465632940411e5b8ccbd4e0827216734db.tar
metatile-a157d5465632940411e5b8ccbd4e0827216734db.zip
clean up names of layout code
darcs-hash:20071013204300-cba2c-7f8fb3244bbd918cd28679debad2129db542d7e8
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Main.hs b/Main.hs
index d4b602f..9a630de 100644
--- a/Main.hs
+++ b/Main.hs
@@ -50,7 +50,7 @@ main = do
hSetBuffering stdout NoBuffering
args <- getArgs
- let initialWinset = new defaultLayout workspaces $ zipWith SD xinesc gaps
+ let initialWinset = new layoutHook workspaces $ zipWith SD xinesc gaps
maybeRead s = case reads s of
[(x, "")] -> Just x
@@ -59,8 +59,8 @@ main = do
winset = fromMaybe initialWinset $ do
("--resume" : s : _) <- return args
ws <- maybeRead s
- return . W.ensureTags defaultLayout workspaces
- $ W.mapLayout (fromMaybe defaultLayout . maybeRead) ws
+ return . W.ensureTags layoutHook workspaces
+ $ W.mapLayout (fromMaybe layoutHook . maybeRead) ws
gaps = take (length xinesc) $ defaultGaps ++ repeat (0,0,0,0)