wayland: Break xdg-foreign connection when window is closed

When a window is closed, we don't want to listen for the WaylandServer::foreignTransientChanged signal anymore as it can lead to a crash.

Merge request reports

Loading