mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user