Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
another small optimisation
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
74b7795
..
f7e9e84
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1235,8
+1235,8
@@
propertynotify(XEvent *e) {
}
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c);
- if(c ==
sel
mon->sel)
- drawbar
s(
);
+ if(c ==
c->
mon->sel)
+ drawbar
(c->mon
);
}
}
}