Without this weston crashes when a client using xdg-shell-v5 is run.
Signed-off-by: Arnaud Vrac <[email protected]>
---
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
--
2.13.0
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel