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) {