From 7080b1d60d48996b6f8b5d7fead1baccb20ba00b Mon Sep 17 00:00:00 2001 From: yosh Date: Sat, 24 Feb 2024 02:09:09 -0500 Subject: [PATCH] xwayland: restack on window activation restack on window activation. not doing so causes popups for apps to not accept mouse input. patch taken from: https://hub.darcs.net/holycow/hikari/patch/de3817572a6c3ba5b51614fe31151d2c63fe1fd4 --- src/xwayland_view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xwayland_view.c b/src/xwayland_view.c index 702d31f..6f987d7 100644 --- a/src/xwayland_view.c +++ b/src/xwayland_view.c @@ -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); }