aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-10 09:46:08 -0400
committerGitHub <noreply@github.com>2018-08-10 09:46:08 -0400
commitc7e99ee0d49d2d62339a041495fde3f1b160133a (patch)
tree8678145c79a96ac10414f55c0bbec126472aaace
parentdf1aeed6c2eb74050de9cced3917500c801855a7 (diff)
parentd1433c637a179d9312dd0e051b799529d849f28f (diff)
downloadsway-c7e99ee0d49d2d62339a041495fde3f1b160133a.tar.xz
Merge pull request #2446 from emersion/xwayland-unmanaged-order
xwayland: fix unmanaged surfaces order
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 398446f8..393185bd 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -59,7 +59,7 @@ static void unmanaged_handle_map(struct wl_listener *listener, void *data) {
wl_container_of(listener, surface, map);
struct wlr_xwayland_surface *xsurface = surface->wlr_xwayland_surface;
- wl_list_insert(&root_container.sway_root->xwayland_unmanaged,
+ wl_list_insert(root_container.sway_root->xwayland_unmanaged.prev,
&surface->link);
wl_signal_add(&xsurface->surface->events.commit, &surface->commit);