mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
general refactor, and call xerrorhandler to ignore certain undetectable issues
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user