On Sun Aug 18 11:59:19 2024 +0000, Rémi Bernon wrote:
Do we actually want to keep the wayland_surface, does the client need anything from it? Could we just keep the client surface with the window data instead? Eventually re-create it with a different top-level surface if needed when re-parenting?
This would effectively lead to the scenario I mentioned in the second part of my reply in https://gitlab.winehq.org/wine/wine/-/merge_requests/6107#note_78535, so the same concerns from that comment still apply.