{
Client *c, *min;
+ if((clients && clients->isfloat) || arrange == dofloat)
+ return clients; /* don't touch floating order */
for(min = c = clients; c; c = c->next)
if(c->weight < min->weight)
min = c;
return min;
}
-
static void
reorder()
{
if(!(c = nexttiled(c->next)))
return;
detach(c);
+ if(clients)
+ clients->prev = c;
c->next = clients;
- clients->prev = c;
clients = c;
focus(c);
arrange(NULL);