summaryrefslogtreecommitdiff
path: root/libweston-desktop
diff options
context:
space:
mode:
authorArnaud Vrac <rawoul@gmail.com>2017-08-05 13:59:01 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-08-05 16:36:27 +0200
commit3000a1c7c40bb4410146b6c68217e7028a1c5c97 (patch)
tree5e67bf337124f2912827fa5fab50868a2e26e38e /libweston-desktop
parent18e77af67c0e5de775c6ecd479514d0419ddd8a1 (diff)
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>
Diffstat (limited to 'libweston-desktop')
-rw-r--r--libweston-desktop/xdg-shell-v5.c2
1 files changed, 2 insertions, 0 deletions
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