From 401b8767e962f484031aaabae59ae6793b94ef20 Mon Sep 17 00:00:00 2001 From: ahe Date: Wed, 19 Feb 2020 19:43:52 +0100 Subject: [PATCH] fullscreen-shell/fullscreen-shell.c: prevent seat_created() from being called with l == NULL --- fullscreen-shell/fullscreen-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c index e785246a..17b25a3c 100644 --- a/fullscreen-shell/fullscreen-shell.c +++ b/fullscreen-shell/fullscreen-shell.c @@ -931,7 +931,7 @@ wet_shell_init(struct weston_compositor *compositor, wl_signal_add(&compositor->seat_created_signal, &shell->seat_created_listener); wl_list_for_each(seat, &compositor->seat_list, link) - seat_created(NULL, seat); + seat_created(&shell->seat_created_listener, seat); wl_global_create(compositor->wl_display, &zwp_fullscreen_shell_v1_interface, 1, shell,