[PATCH weston 4/4] libweston-desktop/xdg-shell-v5: initialize configure list
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sat Aug 5 14:26:46 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>
Oops. Good catch:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Thanks,
> ---
> 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
>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list