fullscreen-shell/fullscreen-shell.c: prevent seat_created() from being called with l == NULL
This commit is contained in:
parent
ea3b7857f2
commit
401b8767e9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue