From 08f1e90384e38926f07e25d162bbbaf3d433b0b6 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 18 Mar 2008 11:14:59 +0100 Subject: [PATCH] Do not set urgent on window if it is focused --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index d5822090d..fdbbdef53 100644 --- a/client.c +++ b/client.c @@ -659,7 +659,7 @@ client_updatewmhints(Client *c) if((wmh = XGetWMHints(globalconf.display, c->win))) { - if((c->isurgent = (wmh->flags & XUrgencyHint))) + if((c->isurgent = ((wmh->flags & XUrgencyHint) && globalconf.focus->client != c))) widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS); if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState) {