From: Anselm R Garbe Date: Tue, 18 Aug 2009 14:42:55 +0000 (+0100) Subject: also update title if the client is on an unfocused monitor X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=57629642321b9850edddf068ac9ddf8737979390 also update title if the client is on an unfocused monitor --- diff --git a/dwm.c b/dwm.c index 74b7795..f63a1c0 100644 --- a/dwm.c +++ b/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(); } }