diff options
author | 2018-08-10 09:46:08 -0400 | |
---|---|---|
committer | 2018-08-10 09:46:08 -0400 | |
commit | c7e99ee0d49d2d62339a041495fde3f1b160133a (patch) | |
tree | 8678145c79a96ac10414f55c0bbec126472aaace | |
parent | Merge pull request #2441 from RyanDwyer/finish-resize-commands (diff) | |
parent | xwayland: fix unmanaged surfaces order (diff) | |
download | sway-c7e99ee0d49d2d62339a041495fde3f1b160133a.tar.gz sway-c7e99ee0d49d2d62339a041495fde3f1b160133a.tar.zst sway-c7e99ee0d49d2d62339a041495fde3f1b160133a.zip |
Merge pull request #2446 from emersion/xwayland-unmanaged-order
xwayland: fix unmanaged surfaces order
-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); |