diff options
author | Tudor Brindus <me@tbrindus.ca> | 2021-08-28 15:52:01 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-28 22:04:31 +0200 |
commit | daaec72ac01f66fda8b3eabe6e11e461f2e0f31d (patch) | |
tree | cb3274a90bd10c9cb6e6a705e28b506907b37ca2 | |
parent | config.in: use portable hour specifier (diff) | |
download | sway-daaec72ac01f66fda8b3eabe6e11e461f2e0f31d.tar.gz sway-daaec72ac01f66fda8b3eabe6e11e461f2e0f31d.tar.zst sway-daaec72ac01f66fda8b3eabe6e11e461f2e0f31d.zip |
desktop/xwayland: restack surface upon activation
This commit updates Sway for swaywm/wlroots#2915.
-rw-r--r-- | sway/desktop/xwayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { | |||
254 | } | 254 | } |
255 | 255 | ||
256 | wlr_xwayland_surface_activate(surface, activated); | 256 | wlr_xwayland_surface_activate(surface, activated); |
257 | wlr_xwayland_surface_restack(surface, NULL, XCB_STACK_MODE_ABOVE); | ||
257 | } | 258 | } |
258 | 259 | ||
259 | static void set_tiled(struct sway_view *view, bool tiled) { | 260 | static void set_tiled(struct sway_view *view, bool tiled) { |