summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDavid Roundy <droundy@darcs.net>2007-09-28 04:02:08 +0200
committerDavid Roundy <droundy@darcs.net>2007-09-28 04:02:08 +0200
commite3edb7d59070b45dac7f04f95c2d494899402d13 (patch)
treeb6b3b52528a57ec68cda657259c0722398853878 /Main.hs
parentced9efd243c094999d5dfbad14058854ad4306e6 (diff)
downloadmetatile-e3edb7d59070b45dac7f04f95c2d494899402d13.tar
metatile-e3edb7d59070b45dac7f04f95c2d494899402d13.zip
define defaultLayout in Config.hs.
darcs-hash:20070928020208-72aca-ba2fa62ecf40abd9137c9632c7ee27525a62f48e
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Main.hs b/Main.hs
index 89e2b0f..326955a 100644
--- a/Main.hs
+++ b/Main.hs
@@ -53,10 +53,8 @@ main = do
let winset | ("--resume" : s : _) <- args
, [(x, "")] <- reads s = W.ensureTags defaultLayout workspaces x
| otherwise = new defaultLayout workspaces $ zipWith SD xinesc gaps
- defaultLayout = SomeLayout $ LayoutSelection safeLayouts
gaps = take (length xinesc) $ defaultGaps ++ repeat (0,0,0,0)
- safeLayouts = if null defaultLayouts then [SomeLayout Full] else defaultLayouts
cf = XConf
{ display = dpy
, theRoot = rootw