mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
Merge pull request #2446 from emersion/xwayland-unmanaged-order
xwayland: fix unmanaged surfaces order
This commit is contained in:
commit
c7e99ee0d4
@ -59,7 +59,7 @@ static void unmanaged_handle_map(struct wl_listener *listener, void *data) {
|
|||||||
wl_container_of(listener, surface, map);
|
wl_container_of(listener, surface, map);
|
||||||
struct wlr_xwayland_surface *xsurface = surface->wlr_xwayland_surface;
|
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);
|
&surface->link);
|
||||||
|
|
||||||
wl_signal_add(&xsurface->surface->events.commit, &surface->commit);
|
wl_signal_add(&xsurface->surface->events.commit, &surface->commit);
|
||||||
|
Loading…
Reference in New Issue
Block a user