also update title if the client is on an unfocused monitor
This commit is contained in:
		
							parent
							
								
									cba6b211c2
								
							
						
					
					
						commit
						5762964232
					
				
							
								
								
									
										2
									
								
								dwm.c
								
								
								
								
							
							
						
						
									
										2
									
								
								dwm.c
								
								
								
								
							| 
						 | 
					@ -1235,7 +1235,7 @@ propertynotify(XEvent *e) {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 | 
							if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 | 
				
			||||||
			updatetitle(c);
 | 
								updatetitle(c);
 | 
				
			||||||
			if(c == selmon->sel)
 | 
								if(c == c->mon->sel)
 | 
				
			||||||
				drawbars();
 | 
									drawbars();
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue