diff options
author | okan <okan> | 2013-12-13 14:40:52 +0000 |
---|---|---|
committer | okan <okan> | 2013-12-13 14:40:52 +0000 |
commit | 34ae428cec9f2c63a215e6c45f0e73aba584b6e5 (patch) | |
tree | 03fc454169c4171f4dd1a567e1ff35ae7c13c30d /conf.c | |
parent | fe177b7c611d6c557275c7c9869cb7c31fa1a7e2 (diff) | |
download | cwm-34ae428cec9f2c63a215e6c45f0e73aba584b6e5.tar.gz cwm-34ae428cec9f2c63a215e6c45f0e73aba584b6e5.tar.xz cwm-34ae428cec9f2c63a215e6c45f0e73aba584b6e5.zip |
Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION
ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.c b/conf.c index 970b0ce..445571b 100644 --- a/conf.c +++ b/conf.c @@ -88,6 +88,7 @@ conf_ignore(struct conf *c, char *val) static char *color_binds[] = { "#CCCCCC", /* CWM_COLOR_BORDER_ACTIVE */ "#666666", /* CWM_COLOR_BORDER_INACTIVE */ + "#FC8814", /* CWM_COLOR_BORDER_URGENCY */ "blue", /* CWM_COLOR_BORDER_GROUP */ "red", /* CWM_COLOR_BORDER_UNGROUP */ "black", /* CWM_COLOR_MENU_FG */ @@ -687,6 +688,7 @@ static char *ewmhints[] = { "_NET_WM_STATE", "_NET_WM_STATE_MAXIMIZED_VERT", "_NET_WM_STATE_MAXIMIZED_HORZ", + "_NET_WM_STATE_DEMANDS_ATTENTION", }; void |