configurable border colors

This also fixes a bug where xmonad was assuming a 24-bit display, and just
using, eg, 0xff0000 as an index into a colormap without querying the X server
to determine the proper pixel value for "red".
This commit is contained in:
Jason Creighton
2007-04-30 04:38:59 +00:00
parent 8097060259
commit bdbca84bcd
4 changed files with 17 additions and 7 deletions

View File

@@ -46,6 +46,8 @@ data XState = XState
, defaultLayoutDesc :: !LayoutDesc -- ^ default layout
, layoutDescs :: !(M.Map WorkspaceId LayoutDesc) -- ^ mapping of workspaces
-- to descriptions of their layouts
, normalBorder :: !Color -- ^ border color of unfocused windows
, focusedBorder :: !Color -- ^ border color of the focused window
}
type WindowSet = StackSet WorkspaceId ScreenId Window