diff options
author | emersion <contact@emersion.fr> | 2018-08-10 12:47:24 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-10 12:47:24 +0100 |
commit | d1433c637a179d9312dd0e051b799529d849f28f (patch) | |
tree | 8678145c79a96ac10414f55c0bbec126472aaace /sway/desktop/xwayland.c | |
parent | Merge pull request #2441 from RyanDwyer/finish-resize-commands (diff) | |
download | sway-d1433c637a179d9312dd0e051b799529d849f28f.tar.gz sway-d1433c637a179d9312dd0e051b799529d849f28f.tar.zst sway-d1433c637a179d9312dd0e051b799529d849f28f.zip |
xwayland: fix unmanaged surfaces order
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
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) { | |||
59 | wl_container_of(listener, surface, map); | 59 | wl_container_of(listener, surface, map); |
60 | struct wlr_xwayland_surface *xsurface = surface->wlr_xwayland_surface; | 60 | struct wlr_xwayland_surface *xsurface = surface->wlr_xwayland_surface; |
61 | 61 | ||
62 | wl_list_insert(&root_container.sway_root->xwayland_unmanaged, | 62 | wl_list_insert(root_container.sway_root->xwayland_unmanaged.prev, |
63 | &surface->link); | 63 | &surface->link); |
64 | 64 | ||
65 | wl_signal_add(&xsurface->surface->events.commit, &surface->commit); | 65 | wl_signal_add(&xsurface->surface->events.commit, &surface->commit); |