xwayland: fix unmanaged surfaces order

This commit is contained in:
emersion 2018-08-10 12:47:24 +01:00
parent df1aeed6c2
commit d1433c637a
1 changed files with 1 additions and 1 deletions

View File

@ -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);