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>
dev
Pekka Paalanen 8 years ago
parent a04eacc488
commit 0adb6a7ac5
  1. 4
      libweston-desktop/xwayland.c

@ -132,6 +132,10 @@ weston_desktop_xwayland_surface_committed(struct weston_desktop_surface *dsurfac
{
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) {
surface->has_next_geometry = false;
weston_desktop_surface_set_geometry(surface->surface,

Loading…
Cancel
Save