non-zero
This commit is contained in:
		
							parent
							
								
									cf98ea2a9c
								
							
						
					
					
						commit
						79ecbeca7e
					
				| @ -1,5 +1,5 @@ | |||||||
| # dwm version
 | # dwm version
 | ||||||
| VERSION = 5.0 | VERSION = 5.0.1 | ||||||
| 
 | 
 | ||||||
| # Customize below to fit your system
 | # Customize below to fit your system
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										12
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								dwm.c
									
									
									
									
									
								
							| @ -1496,15 +1496,23 @@ togglemax(const Arg *arg) { | |||||||
| 
 | 
 | ||||||
| void | void | ||||||
| toggletag(const Arg *arg) { | toggletag(const Arg *arg) { | ||||||
| 	if(sel && (sel->tags ^= (arg->ui & TAGMASK))) | 	uint mask = sel->tags ^ (arg->ui & TAGMASK); | ||||||
|  | 
 | ||||||
|  | 	if(sel && mask) { | ||||||
|  | 		sel->tags = mask; | ||||||
| 		arrange(); | 		arrange(); | ||||||
| 	} | 	} | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| toggleview(const Arg *arg) { | toggleview(const Arg *arg) { | ||||||
| 	if((tagset[seltags] ^= (arg->ui & TAGMASK))) | 	uint mask = tagset[seltags] ^ (arg->ui & TAGMASK); | ||||||
|  | 
 | ||||||
|  | 	if(mask) { | ||||||
|  | 		tagset[seltags] = mask; | ||||||
| 		arrange(); | 		arrange(); | ||||||
| 	} | 	} | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| unmanage(Client *c) { | unmanage(Client *c) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe