chase wlroots: let scene restack xwayland surfaces (MR 4756)

Ref: 1133bc15ceb2c2bcb6df692acda6bfa39a292ab5
("Transparently restack xwayland surfaces")

In addition, MR 4772 makes sure the hidden windows are stacked at the
bottom, just like what we did with XWAYLAND_VIEW_HIDDEN.
This commit is contained in:
tokyo4j 2025-05-19 15:03:41 +09:00 committed by Johan Malm
parent 1eaba4af33
commit 261126fcd0
5 changed files with 1 additions and 121 deletions

View file

@ -59,9 +59,6 @@ struct xwayland_view {
struct view base;
struct wlr_xwayland_surface *xwayland_surface;
/* Used to detect stacking order updates */
int stacking_order;
/* Events unique to XWayland views */
struct wl_listener associate;
struct wl_listener dissociate;
@ -85,8 +82,6 @@ void xwayland_unmanaged_create(struct server *server,
void xwayland_view_create(struct server *server,
struct wlr_xwayland_surface *xsurface, bool mapped);
void xwayland_adjust_stacking_order(struct server *server);
struct wlr_xwayland_surface *xwayland_surface_from_view(struct view *view);
void xwayland_server_init(struct server *server,