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>
dev
Arnaud Vrac 7 years ago committed by Quentin Glidic
parent 18e77af67c
commit 3000a1c7c4
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 2
      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

Loading…
Cancel
Save