xwayland: restack on window activation

restack on window activation. not doing so causes popups for apps to
not accept mouse input.

patch taken from:
de3817572a
This commit is contained in:
yosh 2024-02-24 02:09:09 -05:00
parent 2152ce721f
commit 7080b1d60d
1 changed files with 1 additions and 0 deletions

View File

@ -304,6 +304,7 @@ activate(struct hikari_view *view, bool active)
struct wlr_xwayland_surface *xwayland_surface = xwayland_view->surface;
wlr_xwayland_surface_activate(xwayland_surface, active);
wlr_xwayland_surface_restack(xwayland_surface, NULL, XCB_STACK_MODE_ABOVE);
wlr_xwayland_set_seat(hikari_server.xwayland, hikari_server.seat);
}