view.c
changeset 428 16f8f05f960e
parent 427 e58cd202c4e9
child 429 a31de8605f72
equal deleted inserted replaced
427:e58cd202c4e9 428:16f8f05f960e
   316 			n++;
   316 			n++;
   317 	if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
   317 	if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
   318 		return;
   318 		return;
   319 
   319 
   320 	/* this is somewhat tricky, it asserts to only zoom tiled clients */
   320 	/* this is somewhat tricky, it asserts to only zoom tiled clients */
   321 	for(c = clients; c && c->isfloat; c = getnext(c->next));
   321 	for(c = getnext(clients); c && c->isfloat; c = getnext(c->next));
   322 	if(c) {
   322 	if(c) {
   323 		if(c == sel)
   323 		if(c == sel)
   324 			for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
   324 			for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
   325 		else
   325 		else
   326 			c = sel;
   326 			c = sel;