]> git.mdlowis.com Git - proto/labwc.git/commitdiff
chase: disable restacking of unmanaged windows
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 23 Apr 2024 23:52:23 +0000 (01:52 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 17 Jul 2024 20:28:59 +0000 (21:28 +0100)
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4052

src/xwayland-unmanaged.c
src/xwayland.c
subprojects/wlroots.wrap

index 72dce1ffcced2986bcbc240a306d3fa150b44204..38d3c315261dde495f5a0e33a55e45db72a6f0fd 100644 (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);
index 72eaa7cf813ebc28c21e5796f7e168a5b6a935fe..0ed4da1f34b1b2639091ac00c7ccbc230e424fda 100644 (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
index f6e78e26dff378d474f409c7f66e076a7d52bdb6..bde76b475ad0ed10db63dcbfa74bc27002488335 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 5dd614b9adc97bf1c89c8e2ebe8504841f8635ea
+revision = f1762f428b0ef2989c81f57ea9e810403d34d946
 
 [provide]
 dependency_names = wlroots