Преглед изворни кода

also update title if the client is on an unfocused monitor

Anselm R Garbe пре 16 година
родитељ
комит
5762964232
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dwm.c

+ 1 - 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();
 		}
 	}