another small optimisation
This commit is contained in:
parent
5762964232
commit
0a668922a4
2
dwm.c
2
dwm.c
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue