check for EWMH.initial_state

This commit is contained in:
Nikos Ntarmos 2007-12-30 19:24:21 +02:00 committed by Julien Danjou
parent a051c2db09
commit 0fb6cf2817
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ client_updatewmhints(Client *c)
if((wmh = XGetWMHints(globalconf.display, c->win)))
{
c->isurgent = (wmh->flags & XUrgencyHint);
if(wmh->initial_state == WithdrawnState)
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
c->skip = True;
XFree(wmh);
}