summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 74b7795..f63a1c0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1235,7 +1235,7 @@ propertynotify(XEvent *e) {
1235 } 1235 }
1236 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { 1236 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
1237 updatetitle(c); 1237 updatetitle(c);
1238 if(c == selmon->sel) 1238 if(c == c->mon->sel)
1239 drawbars(); 1239 drawbars();
1240 } 1240 }
1241 } 1241 }