aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDavid Roundy <droundy@darcs.net>2007-09-20 23:28:43 +0200
committerDavid Roundy <droundy@darcs.net>2007-09-20 23:28:43 +0200
commitc98e775eba6c87d86f6fd28a9f638eb9d7a8640b (patch)
tree6e73fc0b84ef25a4edb80d985578445214239060 /Main.hs
parent76577a21c4a670e133b64eddf7c4e72846492cf5 (diff)
downloadxmonad-c98e775eba6c87d86f6fd28a9f638eb9d7a8640b.tar.gz
xmonad-c98e775eba6c87d86f6fd28a9f638eb9d7a8640b.tar.xz
xmonad-c98e775eba6c87d86f6fd28a9f638eb9d7a8640b.zip
add (unused) Layout to StackSet.
darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab.gz
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 0435675..a6ebae6 100644
--- a/Main.hs
+++ b/Main.hs
@@ -52,7 +52,7 @@ main = do
let winset | ("--resume" : s : _) <- args
, [(x, "")] <- reads s = x
- | otherwise = new workspaces $ zipWith SD xinesc gaps
+ | otherwise = new (fst safeLayouts) workspaces $ zipWith SD xinesc gaps
gaps = take (length xinesc) $ defaultGaps ++ repeat (0,0,0,0)
safeLayouts = case defaultLayouts of [] -> (SomeLayout Full, []); (x:xs) -> (x,xs)