From 91d76e198ac344ad471aa6475a2a2f1af872df61 Mon Sep 17 00:00:00 2001 From: David Roundy Date: Thu, 20 Sep 2007 23:28:43 +0200 Subject: add (unused) Layout to StackSet. darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab --- Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Main.hs') 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) -- cgit v1.2.3