Explorar el Código

also update title if the client is on an unfocused monitor

Anselm R Garbe hace 16 años
padre
commit
5762964232
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
 		}
 	}