also update title if the client is on an unfocused monitor

master
Anselm R Garbe 2009-08-18 15:42:55 +01:00
parent cba6b211c2
commit 5762964232
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

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