launcher-libseat: Don't hard-stop on libseat-debug

If not libseat-debug scope is not set we would hit an assert, and
we might have a legitimate case where we don't want to have it enabled.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2025-03-11 16:19:40 +02:00
parent 1181d638ac
commit a3ab74028a

View file

@ -241,7 +241,6 @@ seat_open(struct weston_launcher **out, struct weston_compositor *compositor,
wl_list_init(&wl->devices);
libseat_debug_scope = compositor->libseat_debug;
assert(libseat_debug_scope);
libseat_set_log_handler(log_libseat);
/* includes (all) other log levels available <= LOG_LEVEL_DEBUG */