Commit 5762964

Anselm R Garbe <garbeam@gmail.com>
2009-08-18 10:42:55
also update title if the client is on an unfocused monitor
1 parent cba6b21
Changed files (1)
dwm.c
@@ -1235,7 +1235,7 @@ propertynotify(XEvent *e) {
 		}
 		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 			updatetitle(c);
-			if(c == selmon->sel)
+			if(c == c->mon->sel)
 				drawbars();
 		}
 	}