commit c7e99ee0d49d2d62339a041495fde3f1b160133a
parent df1aeed6c2eb74050de9cced3917500c801855a7
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 10 Aug 2018 09:46:08 -0400
Merge pull request #2446 from emersion/xwayland-unmanaged-order
xwayland: fix unmanaged surfaces order
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);