mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
xwayland: Keep unmanaged surfaces stacked on top
This commit is contained in:
parent
9c271d792d
commit
f7b1bc1de8
2 changed files with 9 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ unmanaged_handle_map(struct wl_listener *listener, void *data)
|
|||
wl_container_of(listener, unmanaged, map);
|
||||
struct wlr_xwayland_surface *xsurface = unmanaged->xwayland_surface;
|
||||
|
||||
/* Stack new surface on top */
|
||||
wlr_xwayland_surface_restack(xsurface, NULL, XCB_STACK_MODE_ABOVE);
|
||||
wl_list_insert(unmanaged->server->unmanaged_surfaces.prev,
|
||||
&unmanaged->link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue