mirror of
https://github.com/0intro/wmii
synced 2025-02-16 14:24:00 +03:00
Set client windows withdrawn in destroy
This commit is contained in:
parent
5ebb00dfec
commit
ec0ba6bd4a
@ -286,6 +286,7 @@ client_destroy(Client *c) {
|
||||
|
||||
none = nil;
|
||||
client_setviews(c, &none);
|
||||
client_unmap(c, WithdrawnState);
|
||||
refree(&c->tagre);
|
||||
refree(&c->tagvre);
|
||||
free(c->retags);
|
||||
@ -442,10 +443,9 @@ client_map(Client *c) {
|
||||
|
||||
void
|
||||
client_unmap(Client *c, int state) {
|
||||
if(c->w.mapped) {
|
||||
if(c->w.mapped)
|
||||
unmapwin(&c->w);
|
||||
client_setstate(c, state);
|
||||
}
|
||||
client_setstate(c, state);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user