From 8bf0caccf5ae3af242795fe54cb48ec4b847d0e3 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 13 Dec 2013 14:40:52 +0000 Subject: 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. --- xevents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xevents.c') 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); -- cgit v1.2.3-2-gb3c3