summaryrefslogtreecommitdiffstats
path: root/XMonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad.hs')
-rw-r--r--XMonad.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/XMonad.hs b/XMonad.hs
index 77c5a2e..8e03d78 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -23,14 +23,17 @@ import StackSet (StackSet)
import Control.Monad.State
import System.IO
import System.Process (runCommand)
-import Graphics.X11.Xlib (Display,Window)
+import Graphics.X11.Xlib
-- | XState, the window manager state.
-- Just the display, width, height and a window list
data XState = XState
{ display :: Display
- , screenWidth :: {-# UNPACK #-} !Int
- , screenHeight :: {-# UNPACK #-} !Int
+ , screen :: {-# UNPACK #-} !ScreenNumber
+ , theRoot :: {-# UNPACK #-} !Window
+ , wmdelete :: {-# UNPACK #-} !Atom
+ , wmprotocols :: {-# UNPACK #-} !Atom
+ , dimensions :: {-# UNPACK #-} !(Int,Int)
, workspace :: {-# UNPACK #-} !WorkSpace -- ^ workspace list
}