another small optimisation

This commit is contained in:
Anselm R Garbe 2009-08-18 15:59:38 +01:00
parent 5762964232
commit 0a668922a4
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -1236,7 +1236,7 @@ propertynotify(XEvent *e) {
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c); updatetitle(c);
if(c == c->mon->sel) if(c == c->mon->sel)
drawbars(); drawbar(c->mon);
} }
} }
} }