aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2009-08-18 15:42:55 +0100
committerAnselm R Garbe2009-08-18 15:42:55 +0100
commitca087a2b3d8e3ac119e6993fb08283e4221ebb80 (patch)
treeed3a7571da5632bce51f157bdeed86f04a41ab96 /dwm.c
parentfc15c7ea03553282df6140f5cf617f0bc8be5ecc (diff)
downloadaur-ca087a2b3d8e3ac119e6993fb08283e4221ebb80.tar.gz
also update title if the client is on an unfocused monitor
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 74b77957aa92..f63a1c09e1d7 100644
--- 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 == selmon->sel)
+ if(c == c->mon->sel)
drawbars();
}
}