diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-16 10:52:46 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-16 11:10:27 +0200 |
commit | f01ecee75ae435e50910ca852819ee11b22e3b1a (patch) | |
tree | cc94f2c03c04c75cbfdbbf9a8a0aaf05cb90775f /desktop-shell | |
parent | 729c7fa788822e5b0561f992d040e1bb8781cbaf (diff) |
libweston-desktop: Rename _destroy_view to _unlink_view
It doesn't destroy the view per se (except for internal surfaces) and
require the caller to also destroy the view itself at the appropriate
time.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
Diffstat (limited to 'desktop-shell')
-rw-r--r-- | desktop-shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 8023b0da..7bcaa8d1 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -2364,7 +2364,7 @@ desktop_surface_removed(struct weston_desktop_surface *desktop_surface, weston_desktop_surface_set_user_data(shsurf->desktop_surface, NULL); shsurf->desktop_surface = NULL; - weston_desktop_surface_destroy_view(shsurf->view); + weston_desktop_surface_unlink_view(shsurf->view); if (weston_surface_is_mapped(surface) && shsurf->shell->win_close_animation_type == ANIMATION_FADE) { pixman_region32_fini(&surface->pending.input); |