talso update title if the client is on an unfocused monitor - dwm - [fork] cust… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 57629642321b9850edddf068ac9ddf8737979390 | |
parent cba6b211c2ab1564d818fa7dac85b71ba5663e0d | |
Author: Anselm R Garbe <[email protected]> | |
Date: Tue, 18 Aug 2009 15:42:55 +0100 | |
also update title if the client is on an unfocused monitor | |
Diffstat: | |
M dwm.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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(); | |
} | |
} |