fullscreen-shell/fullscreen-shell.c: prevent seat_created() from being called with l == NULL

This commit is contained in:
ahe 2020-02-19 19:43:52 +01:00
parent ea3b7857f2
commit 401b8767e9
1 changed files with 1 additions and 1 deletions

View File

@ -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,