summaryrefslogtreecommitdiff
path: root/app/cwm/xevents.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-12-13 14:40:53 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-12-13 14:40:53 +0000
commitb864308ec6d48f74393b05c05f6a6936b4864b41 (patch)
treea80bac6e86157fe240f66a3d816e719cfd35a997 /app/cwm/xevents.c
parentb93885b5e8bd6e1a0f7e0c82aeaacc12634e43e2 (diff)
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 'app/cwm/xevents.c')
-rw-r--r--app/cwm/xevents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index e933ebbed..8459e69ad 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -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: xevents.c,v 1.98 2013/12/12 20:15:07 okan Exp $
+ * $OpenBSD: xevents.c,v 1.99 2013/12/13 14:40:52 okan Exp $
*/
/*
@@ -188,6 +188,7 @@ xev_handle_propertynotify(XEvent *ee)
break;
case XA_WM_HINTS:
client_wm_hints(cc);
+ client_draw_border(cc);
break;
case XA_WM_TRANSIENT_FOR:
client_transient(cc);