[PATCH weston] xwm: Fix icon surface ownership

Daniel Stone daniel at fooishbar.org
Fri Feb 9 17:01:59 UTC 2018


Hi Emmanuel,

On 24 January 2018 at 22:29, Emmanuel Gil Peyrot <linkmauve at linkmauve.fr> wrote:
> The cairo surface used for the icon must be completely given to the
> frame as soon as said frame has been created.  To prevent both the
> window and the frame from sharing ownership of the icon, we set
> window->icon_surface back to NULL right after creating or changing the
> frame, only keeping it there when no frame has been created yet.

Thanks for this, I've pushed it with Derek's review/test.

Cheers,
Daniel


More information about the wayland-devel mailing list