sanders solution is convincing and elegant

This commit is contained in:
Anselm R. Garbe 2006-09-06 11:54:16 +02:00
parent da0b2a2f31
commit 69b738c097
2 changed files with 9 additions and 49 deletions

View file

@ -99,14 +99,6 @@ focus(Client *c)
}
}
if(c) {
if((c->isfloat || arrange == dofloat) && (c != clients)) {
detach(c);
if(clients) {
clients->prev = c;
c->next = clients;
}
clients = c;
}
grabbuttons(c, True);
drawtitle(c);
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);