mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
chase: disable restacking of unmanaged windows
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4052
This commit is contained in:
parent
3e614814fe
commit
d37309008c
3 changed files with 1 additions and 10 deletions
|
|
@ -42,7 +42,6 @@ handle_map(struct wl_listener *listener, void *data)
|
||||||
assert(!unmanaged->node);
|
assert(!unmanaged->node);
|
||||||
|
|
||||||
/* Stack new surface on top */
|
/* Stack new surface on top */
|
||||||
wlr_xwayland_surface_restack(xsurface, NULL, XCB_STACK_MODE_ABOVE);
|
|
||||||
wl_list_append(&unmanaged->server->unmanaged_surfaces, &unmanaged->link);
|
wl_list_append(&unmanaged->server->unmanaged_surfaces, &unmanaged->link);
|
||||||
|
|
||||||
CONNECT_SIGNAL(xsurface, unmanaged, set_geometry);
|
CONNECT_SIGNAL(xsurface, unmanaged, set_geometry);
|
||||||
|
|
|
||||||
|
|
@ -781,14 +781,6 @@ xwayland_view_move_to_front(struct view *view)
|
||||||
*/
|
*/
|
||||||
wlr_xwayland_surface_restack(xwayland_surface_from_view(view),
|
wlr_xwayland_surface_restack(xwayland_surface_from_view(view),
|
||||||
NULL, XCB_STACK_MODE_ABOVE);
|
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
|
static void
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
revision = 5dd614b9adc97bf1c89c8e2ebe8504841f8635ea
|
revision = f1762f428b0ef2989c81f57ea9e810403d34d946
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
dependency_names = wlroots
|
dependency_names = wlroots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue