[PATCH weston 4/4] libweston-desktop/xdg-shell-v5: initialize configure list

Quentin Glidic sardemff7+wayland at sardemff7.net
Sat Aug 5 14:38:18 UTC 2017


On 8/5/17 1:59 PM, Arnaud Vrac wrote:
> Without this weston crashes when a client using xdg-shell-v5 is run.
> 
> Signed-off-by: Arnaud Vrac <rawoul at gmail.com>
> ---
>   libweston-desktop/xdg-shell-v5.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/libweston-desktop/xdg-shell-v5.c b/libweston-desktop/xdg-shell-v5.c
> index dd360862..ebe7940e 100644
> --- a/libweston-desktop/xdg-shell-v5.c
> +++ b/libweston-desktop/xdg-shell-v5.c
> @@ -745,6 +745,8 @@ weston_desktop_xdg_shell_protocol_get_xdg_surface(struct wl_client *wl_client,
>   		wl_event_loop_add_idle(loop,
>   				       weston_desktop_xdg_surface_add_idle_callback,
>   				       surface);
> +
> +	wl_list_init(&surface->configure_list);
>   }
>   
>   static void
> 

Pushed this one as a critical bug fix (since we are in RC1):
18e77af6..3000a1c7  master -> master

I’ll let someone else push the others while in RC if they find them 
critical enough. Otherwise, I’ll push them after the release.

Cheers,

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list