simplified unmanage

new_dwm
Anselm R.Garbe 19 years ago
parent 735ca9ccd6
commit d3969634ac

@ -438,13 +438,8 @@ unmanage(Client *c)
c->next->prev = c->prev;
if(c == clients)
clients = c->next;
if(sel == c) {
sel = getnext(c->next);
if(!sel)
sel = getprev(c->prev);
if(!sel)
sel = clients;
}
if(sel == c)
sel = getnext(clients);
free(c->tags);
free(c);

Loading…
Cancel
Save