another small optimisation
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 18 Aug 2009 15:59:38 +0100
changeset 1483 63e19dad219c
parent 1482 d4137ac1d940
child 1484 487ed0f2e51d
another small optimisation
dwm.c
--- a/dwm.c	Tue Aug 18 15:42:55 2009 +0100
+++ b/dwm.c	Tue Aug 18 15:59:38 2009 +0100
@@ -1236,7 +1236,7 @@
 		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 			updatetitle(c);
 			if(c == c->mon->sel)
-				drawbars();
+				drawbar(c->mon);
 		}
 	}
 }