only invalidate cache if client is urgent
This commit is contained in:
parent
7a2b851a03
commit
6483b36389
3
client.c
3
client.c
|
@ -615,7 +615,8 @@ client_updatewmhints(Client *c)
|
|||
|
||||
if((wmh = XGetWMHints(globalconf.display, c->win)))
|
||||
{
|
||||
c->isurgent = (wmh->flags & XUrgencyHint);
|
||||
if((c->isurgent = (wmh->flags & XUrgencyHint)))
|
||||
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
||||
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
|
||||
c->skip = True;
|
||||
XFree(wmh);
|
||||
|
|
Loading…
Reference in New Issue