From 57629642321b9850edddf068ac9ddf8737979390 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 18 Aug 2009 15:42:55 +0100 Subject: [PATCH] also update title if the client is on an unfocused monitor --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 1.7.10.4