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>
This commit is contained in:
Arnaud Vrac
2017-08-05 13:59:01 +02:00
committed by Quentin Glidic
parent 18e77af67c
commit 3000a1c7c4
+2
View File
@@ -745,6 +745,8 @@ weston_desktop_xdg_shell_protocol_get_xdg_surface(struct wl_client *wl_client,
wl_event_loop_add_idle(loop, wl_event_loop_add_idle(loop,
weston_desktop_xdg_surface_add_idle_callback, weston_desktop_xdg_surface_add_idle_callback,
surface); surface);
wl_list_init(&surface->configure_list);
} }
static void static void