setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches
This commit is contained in:
		
							parent
							
								
									b0477c3017
								
							
						
					
					
						commit
						60444daa70
					
				
							
								
								
									
										4
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								dwm.c
									
									
									
									
									
								
							| @ -1398,7 +1398,7 @@ void | ||||
| setmwfact(const char *arg) { | ||||
| 	double delta; | ||||
| 
 | ||||
| 	if(!isarrange(tile)) | ||||
| 	if(isarrange(floating)) | ||||
| 		return; | ||||
| 	/* arg handling, manipulate mwfact */ | ||||
| 	if(arg == NULL) | ||||
| @ -1850,7 +1850,7 @@ void | ||||
| zoom(const char *arg) { | ||||
| 	Client *c; | ||||
| 
 | ||||
| 	if(!sel || !isarrange(tile) || sel->isfloating) | ||||
| 	if(!sel || isarrange(floating) || sel->isfloating) | ||||
| 		return; | ||||
| 	if((c = sel) == nexttiled(clients)) | ||||
| 		if(!(c = nexttiled(c->next))) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R. Garbe
						Anselm R. Garbe