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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user