XwaylandView: drop set_decorations link in handleDestroy()

Fixes yet another assertion in wlroots:

    river: xwayland/xwm.c:601: xwayland_surface_destroy: Assertion `wl_list_empty(&xsurface->events.set_decorations.listener_list)' failed.
This commit is contained in:
Daniel Eklöf 2025-06-13 12:23:59 +02:00 committed by Isaac Freund
parent 40294223d4
commit c8fb3952f8
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -139,6 +139,7 @@ fn handleDestroy(listener: *wl.Listener(void)) void {
xwayland_view.dissociate.link.remove();
xwayland_view.request_configure.link.remove();
xwayland_view.set_override_redirect.link.remove();
xwayland_view.set_decorations.link.remove();
const view = xwayland_view.view;
view.impl = .none;