fixing zoom
This commit is contained in:
		
							
								
								
									
										3
									
								
								view.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								view.c
									
									
									
									
									
								
							@@ -318,7 +318,8 @@ zoom(Arg *arg)
 | 
				
			|||||||
		return;
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if((c = sel) == getnext(clients))
 | 
						if((c = sel) == getnext(clients))
 | 
				
			||||||
		if(!(c = getnext(c->next)))
 | 
							for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
 | 
				
			||||||
 | 
						if(!c)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	detach(c);
 | 
						detach(c);
 | 
				
			||||||
	c->next = clients;
 | 
						c->next = clients;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user