mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-11-02 19:00:26 +00:00
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:
parent
a04eacc488
commit
0adb6a7ac5
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue