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 <raw...@gmail.com>

Oops. Good catch:
Reviewed-by: Quentin Glidic <sardemff7+...@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
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to