diff -r 9d73c8298b2e -r 785bad5f21dd client.c --- a/client.c Wed Sep 06 13:56:46 2006 +0200 +++ b/client.c Wed Sep 06 15:30:28 2006 +0200 @@ -99,6 +99,13 @@ } } if(c) { + if(c->isfloat || arrange == dofloat) { + detach(c); + if(clients) + clients->prev = c; + c->next = clients; + clients = c; + } grabbuttons(c, True); drawtitle(c); XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); @@ -243,8 +250,6 @@ c->isfloat = trans || (c->maxw && c->minw && c->maxw == c->minw && c->maxh == c->minh); - if(c->isfloat) - c->weight = ntags; if(clients) clients->prev = c;