[PATCH] shell: Remove fading animation from animation list when surface destroyed

Scott Moreau oreaus at gmail.com
Mon May 21 11:08:15 PDT 2012


> ---
>  src/shell.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/src/shell.c b/src/shell.c
> index 52c21e5..60f8643 100644
> --- a/src/shell.c
> +++ b/src/shell.c
> @@ -1200,6 +1200,9 @@ destroy_shell_surface(struct shell_surface *shsurf)
>        shsurf->surface->configure = NULL;
>        ping_timer_destroy(shsurf);
>
> +       if (shsurf->unresponsive_animation.exists)
> +
> wl_list_remove(&shsurf->unresponsive_animation.current.link);
> +
>        wl_list_remove(&shsurf->link);
>        free(shsurf);
>  }
>
>

Ah yes, there is no destroy handler for this animation. Thanks for tracking
this down and fixing it.


Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120521/6152dc77/attachment.htm>


More information about the wayland-devel mailing list