aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-06-14 01:45:01 +0200
committerJason Creighton <jcreigh@gmail.com>2007-06-14 01:45:01 +0200
commitca00fbd50f9c4b6a6dbbb9ec7bb525b459a4612b (patch)
tree4de8b9bc920c610af0322dbb6875392d35fa3990 /XMonad.hs
parentff9757d5d1240ccf646635dc5e0777095fad057f (diff)
downloadxmonad-ca00fbd50f9c4b6a6dbbb9ec7bb525b459a4612b.tar.gz
xmonad-ca00fbd50f9c4b6a6dbbb9ec7bb525b459a4612b.tar.xz
xmonad-ca00fbd50f9c4b6a6dbbb9ec7bb525b459a4612b.zip
move initColor to Operations and only store the Pixel value of colors
Moving initColor to Operations allows it to be used by extensions. The Pixel component of the color is the only thing we need, so it's simpler just to deal with that. darcs-hash:20070613234501-b9aa7-5b39416db9f9d5ac42692262c233179baeb2540f.gz
Diffstat (limited to 'XMonad.hs')
-rw-r--r--XMonad.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad.hs b/XMonad.hs
index 4e20382..46ef260 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -48,8 +48,8 @@ data XState = XState
data XConf = XConf
{ display :: Display -- ^ the X11 display
, theRoot :: !Window -- ^ the root window
- , normalBorder :: !Color -- ^ border color of unfocused windows
- , focusedBorder :: !Color } -- ^ border color of the focused window
+ , normalBorder :: !Pixel -- ^ border color of unfocused windows
+ , focusedBorder :: !Pixel } -- ^ border color of the focused window
type WindowSet = StackSet WorkspaceId Window ScreenId