also update title if the client is on an unfocused monitor 57629642
Anselm R Garbe · 2009-08-18 15:42 1 file(s) · +1 −1
dwm.c +1 −1
1235 1235
		}
1236 1236
		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
1237 1237
			updatetitle(c);
1238 -
			if(c == selmon->sel)
1238 +
			if(c == c->mon->sel)
1239 1239
				drawbars();
1240 1240
		}
1241 1241
	}