diff --git a/src/compositor.c b/src/compositor.c index 51699216..6ca297ad 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -451,8 +451,10 @@ weston_view_create(struct weston_surface *surface) view->output = NULL; view->output_move_listener.notify = weston_view_output_move_handler; + wl_list_init(&view->output_move_listener.link); view->output_destroy_listener.notify = weston_view_output_destroy_handler; + wl_list_init(&view->output_destroy_listener.link); return view; }