Merge branch 'xwayland-set-parent' into 'master'

xwayland: emit set_parent signal when parent is destroyed

See merge request wlroots/wlroots!5390
This commit is contained in:
rewine 2026-06-02 09:16:20 +00:00
commit d5af0515d2

View file

@ -630,6 +630,7 @@ static void xwayland_surface_destroy(struct wlr_xwayland_surface *xsurface) {
wl_list_remove(&child->parent_link);
wl_list_init(&child->parent_link);
child->parent = NULL;
wl_signal_emit_mutable(&child->events.set_parent, NULL);
}
wl_list_remove(&xsurface->unpaired_link);