don't draw the border of skip'ed windows

ewmh_process_window_type_atom(...) clears the border for windows that
are to be skipped. However, client_updatewmhints(...) doesn't.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Nikos Ntarmos 2008-01-14 15:18:29 +02:00 committed by Julien Danjou
parent eadebdd35d
commit a9170edf10
1 changed files with 3 additions and 0 deletions

View File

@ -615,7 +615,10 @@ client_updatewmhints(Client *c)
if((c->isurgent = (wmh->flags & XUrgencyHint)))
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
{
c->border = 0;
c->skip = True;
}
XFree(wmh);
}
}