fix bad condition
This commit is contained in:
		
							parent
							
								
									c00faae263
								
							
						
					
					
						commit
						fc8b2a8335
					
				
							
								
								
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							| @ -2451,7 +2451,7 @@ urgent(struct wl_listener *listener, void *data) | |||||||
| void | void | ||||||
| view(const Arg *arg) | view(const Arg *arg) | ||||||
| { | { | ||||||
| 	if (selmon && (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags]) | 	if (!selmon || (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags]) | ||||||
| 		return; | 		return; | ||||||
| 	selmon->seltags ^= 1; /* toggle sel tagset */ | 	selmon->seltags ^= 1; /* toggle sel tagset */ | ||||||
| 	if (arg->ui & TAGMASK) | 	if (arg->ui & TAGMASK) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user