summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/event.c b/event.c
index f29038a0..ba41f556 100644
--- a/event.c
+++ b/event.c
@@ -204,6 +204,10 @@ propertynotify(XEvent *e)
}
if(ev->atom == XA_WM_NAME || ev->atom == net_atom[NetWMName]) {
update_name(c);
+ if(c == stack)
+ draw_bar();
+ else
+ draw_client(c);
}
}
}