applied Szabolcs proposal for zoom() as well
This commit is contained in:
		
							parent
							
								
									81658eaab3
								
							
						
					
					
						commit
						8439369db9
					
				
							
								
								
									
										2
									
								
								layout.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								layout.c
									
									
									
									
									
								
							| @ -247,7 +247,7 @@ void | |||||||
| zoom(const char *arg) { | zoom(const char *arg) { | ||||||
| 	Client *c; | 	Client *c; | ||||||
| 
 | 
 | ||||||
| 	if(!sel || lt->arrange != tile || sel->isfloating) | 	if(!sel || lt->arrange == floating || sel->isfloating) | ||||||
| 		return; | 		return; | ||||||
| 	if((c = sel) == nexttiled(clients)) | 	if((c = sel) == nexttiled(clients)) | ||||||
| 		if(!(c = nexttiled(c->next))) | 		if(!(c = nexttiled(c->next))) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user