debug: trace xwayland scene node creation

This commit is contained in:
Window Maker 2026-05-25 10:35:07 +02:00
parent b67d3a04fb
commit 9bb2d02254
1 changed files with 5 additions and 0 deletions

View File

@ -1669,10 +1669,15 @@ handle_xwayland_map(struct wl_listener *listener, void *data)
if (view->scene_node) {
view_attach_scene_destroy_listener(view);
wlr_scene_node_set_position(&view->scene_node->node, view->x, view->y);
wwarning("wl_backend: xwayland scene_node created id=0x%lx pos=%d,%d surface=%p mapped=%d",
view->id, view->x, view->y, (void*)xw->surface,
xw->surface->mapped);
}
} else if (!xw->surface) {
wwarning("wl_backend: xwayland map id=0x%lx: surface is NULL, window will not render",
view->id);
} else if (view->scene_node) {
wwarning("wl_backend: xwayland map id=0x%lx: scene_node already exists", view->id);
}