This fixes at least the case where you want to do wl_viewport.set_destination
to resize the surface but without attaching new content in it.
---
src/compositor.c | 60 +++-
src/compositor.h | 2 ++
2 files changed, 48 insertions(+), 14 deletions
This is to avoid recursing into weston_compositor_build_view_list()
and therefore fix crashing when destroying a stack of visible subsurfaces
due to weston_compositor_build_view_list() being called recursively
and corrupting the lists it works on.
https://bugs.freedesktop.org/show_bug.cgi?id=79684