another small optimisation
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 18 Aug 2009 14:59:38 +0000 (15:59 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Tue, 18 Aug 2009 14:59:38 +0000 (15:59 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index f63a1c0..f7e9e84 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1236,7 +1236,7 @@ propertynotify(XEvent *e) {
                if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
                        updatetitle(c);
                        if(c == c->mon->sel)
-                               drawbars();
+                               drawbar(c->mon);
                }
        }
 }