check for EWMH.initial_state
This commit is contained in:
parent
a051c2db09
commit
0fb6cf2817
2
client.c
2
client.c
|
@ -565,7 +565,7 @@ client_updatewmhints(Client *c)
|
||||||
if((wmh = XGetWMHints(globalconf.display, c->win)))
|
if((wmh = XGetWMHints(globalconf.display, c->win)))
|
||||||
{
|
{
|
||||||
c->isurgent = (wmh->flags & XUrgencyHint);
|
c->isurgent = (wmh->flags & XUrgencyHint);
|
||||||
if(wmh->initial_state == WithdrawnState)
|
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
|
||||||
c->skip = True;
|
c->skip = True;
|
||||||
XFree(wmh);
|
XFree(wmh);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue