Commit 8cc153b3 authored by Pekka Paalanen's avatar Pekka Paalanen

xwm: debug print deleted property name

Use wm_log_continue() to avoid printing the timestamp in the middle of a

Print the name of the property that got deleted.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
Reviewed-by: Quentin Glidic's avatarQuentin Glidic <>
parent 73428a8b
...@@ -1250,7 +1250,8 @@ weston_wm_handle_property_notify(struct weston_wm *wm, xcb_generic_event_t *even ...@@ -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); wm_log("XCB_PROPERTY_NOTIFY: window %d, ", property_notify->window);
if (property_notify->state == XCB_PROPERTY_DELETE) 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 else
read_and_dump_property(wm, property_notify->window, read_and_dump_property(wm, property_notify->window,
property_notify->atom); property_notify->atom);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment