[PATCH weston v2 08/24] libweston-desktop/xwayland: debug commits
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sun Jan 15 13:35:46 UTC 2017
On 21/12/2016 15:40, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> Helps tracking what happens with XWM.
>
> Use the same debugging guard as XWM.
>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Seems good:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
> ---
> libweston-desktop/xwayland.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libweston-desktop/xwayland.c b/libweston-desktop/xwayland.c
> index 449675a..d1566bd 100644
> --- a/libweston-desktop/xwayland.c
> +++ b/libweston-desktop/xwayland.c
> @@ -135,6 +135,10 @@ weston_desktop_xwayland_surface_committed(struct weston_desktop_surface *dsurfac
>
> assert(dsurface == surface->surface);
>
> +#ifdef WM_DEBUG
> + weston_log("%s: xwayland surface %p\n", __func__, surface);
> +#endif
> +
> if (surface->has_next_geometry) {
> oldgeom = weston_desktop_surface_get_geometry(surface->surface);
> sx -= surface->next_geometry.x - oldgeom.x;
>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list