aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2013-12-13 14:40:52 +0000
committerokan2013-12-13 14:40:52 +0000
commit8bf0caccf5ae3af242795fe54cb48ec4b847d0e3 (patch)
tree2f1b843524267a87193b4f21e9b478e5646cbf96 /xevents.c
parent754e61eb263aa34c713a1854a432f4fc979453d7 (diff)
downloadcwm-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 'xevents.c')
-rw-r--r--xevents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index e933ebb..8459e69 100644
--- a/xevents.c
+++ b/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);