]> git.armaanb.net Git - dwm.git/commitdiff
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 f63a1c09e1d7b5d92eeb8f32c89a365f1cab88d9..f7e9e8409d0e93d5fcb6cd8e9a253723c47af22b 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);
                }
        }
 }