diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-11-28 16:37:07 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-01-17 16:35:35 +0200 |
commit | 0adb6a7ac5e37b23c6d11247252fd42d35178a9a (patch) | |
tree | 56b845f056a4a04047e2ca23d915ad14219b89c7 /libweston-desktop | |
parent | a04eacc48880aae6f5e680cb58d3085eb521e87f (diff) | |
download | weston-0adb6a7ac5e37b23c6d11247252fd42d35178a9a.tar.gz |
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>
Diffstat (limited to 'libweston-desktop')
-rw-r--r-- | libweston-desktop/xwayland.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libweston-desktop/xwayland.c b/libweston-desktop/xwayland.c index 6b90c14a..663734a8 100644 --- a/libweston-desktop/xwayland.c +++ b/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, |