dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 57629642321b9850edddf068ac9ddf8737979390
parent cba6b211c2ab1564d818fa7dac85b71ba5663e0d
Author: Anselm R Garbe <garbeam@gmail.com>
Date:   Tue, 18 Aug 2009 15:42:55 +0100

also update title if the client is on an unfocused monitor
Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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();
         }
     }