From d1433c637a179d9312dd0e051b799529d849f28f Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 10 Aug 2018 12:47:24 +0100 Subject: xwayland: fix unmanaged surfaces order --- sway/desktop/xwayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/desktop/xwayland.c') 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); -- cgit v1.2.3-54-g00ecf