From daaec72ac01f66fda8b3eabe6e11e461f2e0f31d Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sat, 28 Aug 2021 15:52:01 -0400 Subject: desktop/xwayland: restack surface upon activation This commit updates Sway for swaywm/wlroots#2915. --- sway/desktop/xwayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 66cb3b02..1af8d248 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -254,6 +254,7 @@ static void set_activated(struct sway_view *view, bool activated) { } wlr_xwayland_surface_activate(surface, activated); + wlr_xwayland_surface_restack(surface, NULL, XCB_STACK_MODE_ABOVE); } static void set_tiled(struct sway_view *view, bool tiled) { -- cgit v1.2.3