summaryrefslogtreecommitdiff
path: root/fullscreen-shell
diff options
context:
space:
mode:
authorahe <Andreas.Heynig@meetwise.com>2020-02-19 19:43:52 +0100
committerahe <Andreas.Heynig@meetwise.com>2020-02-26 14:19:21 +0100
commit401b8767e962f484031aaabae59ae6793b94ef20 (patch)
tree4589990b560d708e8c8313252df41e38732b963c /fullscreen-shell
parentea3b7857f288a2ab3a75a0d5825fb0a4f3b98341 (diff)
downloadweston-401b8767e962f484031aaabae59ae6793b94ef20.tar.gz
fullscreen-shell/fullscreen-shell.c: prevent seat_created() from being called with l == NULL
Diffstat (limited to 'fullscreen-shell')
-rw-r--r--fullscreen-shell/fullscreen-shell.c2
1 files changed, 1 insertions, 1 deletions
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,