summaryrefslogtreecommitdiff
path: root/events.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-09-05 22:29:22 +0000
committersabetts <sabetts>2000-09-05 22:29:22 +0000
commitf11686e4d9141d05a97031785380ef1be3694804 (patch)
tree21c023d33f486966bee60d0942fc673da3c93346 /events.c
parentf9d451208217f6861a8b0f2b7bb070585a2e385c (diff)
downloadratpoison-f11686e4d9141d05a97031785380ef1be3694804.zip
in property_notify(), when the name of a window changes, update the
program bar.
Diffstat (limited to 'events.c')
-rw-r--r--events.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/events.c b/events.c
index b5b1564..cd6cf13 100644
--- a/events.c
+++ b/events.c
@@ -345,12 +345,14 @@ property_notify (XEvent *ev)
printf ("atom: %ld\n", ev->xproperty.atom);
win = find_window (ev->xproperty.window);
+
if (win)
{
if (ev->xproperty.atom == XA_WM_NAME)
{
printf ("updating window name\n");
- update_window_name (win);
+ update_window_name (win);
+ update_window_names (win->scr);
}
}
}