summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-05-21 18:28:09 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-05-21 18:28:09 +0200
commit3ad369596272d5087c7191f2bf4a0c01eeceb09f (patch)
tree08319408d22f3cdbd524896f6d8929c07975f130
parent4c5cce8383eda80ffe686d93dcac57b84e4fa29f (diff)
downloadmetatile-3ad369596272d5087c7191f2bf4a0c01eeceb09f.tar
metatile-3ad369596272d5087c7191f2bf4a0c01eeceb09f.zip
Use Position for dimensions
darcs-hash:20070521162809-a5988-fbabe930a50582fb828cd3683167e158bec904ad
-rw-r--r--XMonad.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/XMonad.hs b/XMonad.hs
index 0355e6f..853fdeb 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -38,10 +38,10 @@ import qualified Data.Map as M
-- | XState, the window manager state.
-- Just the display, width, height and a window list
data XState = XState
- { windowset :: !WindowSet -- ^ workspace list
- , xineScreens :: ![Rectangle] -- ^ dimensions of each screen
- , dimensions :: !(Int,Int) -- ^ dimensions of the screen,
- -- used for hiding windows
+ { windowset :: !WindowSet -- ^ workspace list
+ , xineScreens :: ![Rectangle] -- ^ dimensions of each screen
+ , dimensions :: !(Position,Position) -- ^ dimensions of the screen,
+ -- used for hiding windows
, layouts :: !(M.Map WorkspaceId (Layout, [Layout])) }
-- ^ mapping of workspaces to descriptions of their layouts