mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 06:28:01 +02:00
surface: No need to unmap views before destroy
This happens as a part of weston_view_destroy(). Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
17af1c4d20
commit
da8c8f96d2
1 changed files with 1 additions and 3 deletions
|
|
@ -5142,10 +5142,8 @@ weston_subsurface_destroy(struct weston_subsurface *sub)
|
|||
assert(sub->parent_destroy_listener.notify ==
|
||||
subsurface_handle_parent_destroy);
|
||||
|
||||
wl_list_for_each_safe(view, next, &sub->surface->views, surface_link) {
|
||||
weston_view_unmap(view);
|
||||
wl_list_for_each_safe(view, next, &sub->surface->views, surface_link)
|
||||
weston_view_destroy(view);
|
||||
}
|
||||
|
||||
if (sub->parent)
|
||||
weston_subsurface_unlink_parent(sub);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue