diff options
author | okan | 2013-12-13 14:40:52 +0000 |
---|---|---|
committer | okan | 2013-12-13 14:40:52 +0000 |
commit | 8bf0caccf5ae3af242795fe54cb48ec4b847d0e3 (patch) | |
tree | 2f1b843524267a87193b4f21e9b478e5646cbf96 /conf.c | |
parent | 754e61eb263aa34c713a1854a432f4fc979453d7 (diff) | |
download | cwm-8bf0caccf5ae3af242795fe54cb48ec4b847d0e3.tar.gz |
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 '')
-rw-r--r-- | conf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.150 2013/11/27 18:34:34 okan Exp $ + * $OpenBSD: conf.c,v 1.151 2013/12/13 14:40:52 okan Exp $ */ #include <sys/param.h> @@ -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 |