Disable Xwayland restacking for toplevel capture scenes

The main scene should drive Xwayland restacking.

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5108
This commit is contained in:
Simon Ser 2026-01-04 17:52:58 +01:00 committed by Kenny Levinsen
parent c09d0f1d4a
commit 8224d5fcf8

View file

@ -55,6 +55,7 @@ bool view_init(struct sway_view *view, enum sway_view_type type,
if (view->image_capture_scene == NULL) {
goto err;
}
view->image_capture_scene->restack_xwayland_surfaces = false;
view->type = type;
view->impl = impl;