From 0a668922a4de625d128a362d102844e33e36ae1c Mon Sep 17 00:00:00 2001
From: Anselm R Garbe <garbeam@gmail.com>
Date: Tue, 18 Aug 2009 15:59:38 +0100
Subject: [PATCH] another small optimisation

---
 dwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwm.c b/dwm.c
index f63a1c0..f7e9e84 100644
--- 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);
 		}
 	}
 }