fixed urgent hint handling
This commit is contained in:
		
							parent
							
								
									2e38296edd
								
							
						
					
					
						commit
						5d9ae3f3b7
					
				
							
								
								
									
										7
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								dwm.c
									
									
									
									
									
								
							| @ -1870,10 +1870,11 @@ void | ||||
| updatewmhints(Client *c) { | ||||
| 	XWMHints *wmh; | ||||
| 
 | ||||
| 	if(c == sel) | ||||
| 		return; | ||||
| 	if((wmh = XGetWMHints(dpy, c->win))) { | ||||
| 		c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; | ||||
| 		if(c == sel) | ||||
| 			sel->isurgent = False; | ||||
| 		else | ||||
| 			c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; | ||||
| 		XFree(wmh); | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe