Skip to content

Commit

Permalink
libweston-desktop/xwayland: debug commits
Browse files Browse the repository at this point in the history
Helps tracking what happens with XWM.

Use the same debugging guard as XWM.

Signed-off-by: Pekka Paalanen <[email protected]>
Reviewed-by: Quentin Glidic <[email protected]>
  • Loading branch information
ppaalanen committed Jan 17, 2017
1 parent a04eacc commit 0adb6a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libweston-desktop/xwayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0adb6a7

Please sign in to comment.