From 3000a1c7c40bb4410146b6c68217e7028a1c5c97 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac <rawoul@gmail.com> Date: Sat, 5 Aug 2017 13:59:01 +0200 Subject: [PATCH] libweston-desktop/xdg-shell-v5: initialize configure list Without this weston crashes when a client using xdg-shell-v5 is run. Signed-off-by: Arnaud Vrac <rawoul@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> --- 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 dd3608629..ebe7940ed 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 -- GitLab