[PATCH] compositor: update the surface size when there is a size change without a buffer attach

2014-06-13 Thread George Kiagiadakis
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

[PATCH] compositor: unmap subsurface views before destroying the subsurfaces

2014-06-13 Thread George Kiagiadakis
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