view.c
changeset 661 4b8096176bbe
parent 660 4c6d27f03773
child 662 3e0f11a44293
equal deleted inserted replaced
660:4c6d27f03773 661:4b8096176bbe
   259 	}
   259 	}
   260 	for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
   260 	for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
   261 		n++;
   261 		n++;
   262 
   262 
   263 	c = sel;
   263 	c = sel;
   264 	if(arrange != dofloat) {
   264 	if((arrange != dofloat) && c != nexttiled(clients)) {
   265 		detach(c);
   265 		detach(c);
   266 		if(clients)
   266 		if(clients)
   267 			clients->prev = c;
   267 			clients->prev = c;
   268 		c->next = clients;
   268 		c->next = clients;
   269 		clients = c;
   269 		clients = c;