summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-04-10 08:27:31 +0200
committerJason Creighton <jcreigh@gmail.com>2007-04-10 08:27:31 +0200
commitfabdf6a026b61e0602c86a7402dfafa47a9c2154 (patch)
tree9ab60a43875b21b334c5a55f4229cab0e8ec8f34 /Main.hs
parentb770024ff9cd6572dc736d8ea5532af0ff041295 (diff)
downloadmetatile-fabdf6a026b61e0602c86a7402dfafa47a9c2154.tar
metatile-fabdf6a026b61e0602c86a7402dfafa47a9c2154.zip
moved screen <-> workspace mapping from XMonad to StackSet
darcs-hash:20070410062731-b9aa7-e1768a3fe6c0e3c749400dffc4a5a5e33e6a08c4
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Main.hs b/Main.hs
index 05cb69d..e7c24a6 100644
--- a/Main.hs
+++ b/Main.hs
@@ -43,14 +43,13 @@ main = do
let st = XState
{ display = dpy
, xineScreens = xinesc
- , wsOnScreen = M.fromList $ map (\n -> (n,n)) [0.. length xinesc - 1]
, theRoot = rootw
, wmdelete = wmdelt
, wmprotocols = wmprot
-- fromIntegral needed for X11 versions that use Int instead of CInt.
, dimensions = (fromIntegral (displayWidth dpy dflt),
fromIntegral (displayHeight dpy dflt))
- , workspace = W.empty workspaces
+ , workspace = W.empty workspaces (length xinesc)
, defaultLayoutDesc = startingLayoutDesc
, layoutDescs = M.empty
}