libweston-desktop/xwayland: debug commits

Helps tracking what happens with XWM.

Use the same debugging guard as XWM.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Pekka Paalanen 2016-11-28 16:37:07 +02:00
parent a04eacc488
commit 0adb6a7ac5

View file

@ -132,6 +132,10 @@ weston_desktop_xwayland_surface_committed(struct weston_desktop_surface *dsurfac
{ {
struct weston_desktop_xwayland_surface *surface = user_data; struct weston_desktop_xwayland_surface *surface = user_data;
#ifdef WM_DEBUG
weston_log("%s: xwayland surface %p\n", __func__, surface);
#endif
if (surface->has_next_geometry) { if (surface->has_next_geometry) {
surface->has_next_geometry = false; surface->has_next_geometry = false;
weston_desktop_surface_set_geometry(surface->surface, weston_desktop_surface_set_geometry(surface->surface,