chase: disable restacking of unmanaged windows

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4052
This commit is contained in:
Consolatis 2024-04-24 01:52:23 +02:00 committed by Johan Malm
parent 3e614814fe
commit d37309008c
3 changed files with 1 additions and 10 deletions

View file

@ -42,7 +42,6 @@ handle_map(struct wl_listener *listener, void *data)
assert(!unmanaged->node);
/* Stack new surface on top */
wlr_xwayland_surface_restack(xsurface, NULL, XCB_STACK_MODE_ABOVE);
wl_list_append(&unmanaged->server->unmanaged_surfaces, &unmanaged->link);
CONNECT_SIGNAL(xsurface, unmanaged, set_geometry);

View file

@ -781,14 +781,6 @@ xwayland_view_move_to_front(struct view *view)
*/
wlr_xwayland_surface_restack(xwayland_surface_from_view(view),
NULL, XCB_STACK_MODE_ABOVE);
/* Restack unmanaged surfaces on top */
struct wl_list *list = &view->server->unmanaged_surfaces;
struct xwayland_unmanaged *u;
wl_list_for_each(u, list, link) {
wlr_xwayland_surface_restack(u->xwayland_surface,
NULL, XCB_STACK_MODE_ABOVE);
}
}
static void

View file

@ -1,6 +1,6 @@
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
revision = 5dd614b9adc97bf1c89c8e2ebe8504841f8635ea
revision = f1762f428b0ef2989c81f57ea9e810403d34d946
[provide]
dependency_names = wlroots