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:
parent
eadebdd35d
commit
a9170edf10
3
client.c
3
client.c
|
@ -615,7 +615,10 @@ client_updatewmhints(Client *c)
|
||||||
if((c->isurgent = (wmh->flags & XUrgencyHint)))
|
if((c->isurgent = (wmh->flags & XUrgencyHint)))
|
||||||
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
||||||
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
|
if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState)
|
||||||
|
{
|
||||||
|
c->border = 0;
|
||||||
c->skip = True;
|
c->skip = True;
|
||||||
|
}
|
||||||
XFree(wmh);
|
XFree(wmh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue