summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-12-19 15:18:45 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-01-17 16:35:35 +0200
commit8cc153b35011797c2fa96ec7dc600ec3296d8b2f (patch)
tree162c29b68af8a7dcd4b4be897c07acc47b3df4f8 /xwayland
parent73428a8be23c7b0e00c4af3c92a9fc45c096579b (diff)
xwm: debug print deleted property name
Use wm_log_continue() to avoid printing the timestamp in the middle of a message. Print the name of the property that got deleted. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index d56eddd8..ce781591 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -1250,7 +1250,8 @@ weston_wm_handle_property_notify(struct weston_wm *wm, xcb_generic_event_t *even
wm_log("XCB_PROPERTY_NOTIFY: window %d, ", property_notify->window);
if (property_notify->state == XCB_PROPERTY_DELETE)
- wm_log("deleted\n");
+ wm_log_continue("deleted %s\n",
+ get_atom_name(wm->conn, property_notify->atom));
else
read_and_dump_property(wm, property_notify->window,
property_notify->atom);