[PATCH weston v2 14/24] xwm: debug print deleted property name
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sun Jan 15 13:55:54 UTC 2017
On 21/12/2016 15:40, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> 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 at collabora.co.uk>
Nice to have:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Thanks,
> ---
> xwayland/window-manager.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
> index 0a6417c..5466bc9 100644
> --- a/xwayland/window-manager.c
> +++ b/xwayland/window-manager.c
> @@ -1258,7 +1258,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);
>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list