fixing zoom 52a3ab10
Anselm R. Garbe · 2006-09-05 17:10 1 file(s) · +4 −3
view.c +4 −3
317 317
	if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
318 318
		return;
319 319
320 -
	if((c = sel)  == getnext(clients))
321 -
		if(!(c = getnext(c->next)))
322 -
			return;
320 +
	if((c = sel) == getnext(clients))
321 +
		for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
322 +
	if(!c)
323 +
		return;
323 324
	detach(c);
324 325
	c->next = clients;
325 326
	clients->prev = c;