Re: [PATCH weston] xwm: Fix icon surface ownership

2018-02-09 Thread Daniel Stone
Hi Emmanuel, On 24 January 2018 at 22:29, Emmanuel Gil Peyrot 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

[PATCH weston] xwm: Fix icon surface ownership

2018-01-24 Thread Emmanuel Gil Peyrot
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