summaryrefslogtreecommitdiff
path: root/events.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-09-05 22:33:35 +0000
committersabetts <sabetts>2000-09-05 22:33:35 +0000
commit8aadf506507fcdf6d8a5a6a11445464e66d7f9fa (patch)
tree81f2f1d7098cd3647cb28f9ba747e82a1fa8826a /events.c
parentf11686e4d9141d05a97031785380ef1be3694804 (diff)
downloadratpoison-8aadf506507fcdf6d8a5a6a11445464e66d7f9fa.zip
respects return value of update_window_name in property_notify().
Diffstat (limited to 'events.c')
-rw-r--r--events.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/events.c b/events.c
index cd6cf13..98180e8 100644
--- a/events.c
+++ b/events.c
@@ -351,8 +351,10 @@ property_notify (XEvent *ev)
if (ev->xproperty.atom == XA_WM_NAME)
{
printf ("updating window name\n");
- update_window_name (win);
- update_window_names (win->scr);
+ if (update_window_name (win))
+ {
+ update_window_names (win->scr);
+ }
}
}
}