Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
also update title if the client is on an unfocused monitor
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
74b7795
..
f63a1c0
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1235,7
+1235,7
@@
propertynotify(XEvent *e) {
}
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c);
- if(c ==
sel
mon->sel)
+ if(c ==
c->
mon->sel)
drawbars();
}
}