wlroots/backend/session
Simon Ser e8d56ca415 backend/session: allow wlr_session_find_gpus to return an error
Sometimes wlr_session_find_gpus will encounter an error. This is
different from finding zero GPUs.

On error, wlr_session_find_gpus already returns -1. However, this is
casted to size_t, so callers uncorrectly assume this is a success.

Instead, make wlr_session_find_gpus return a ssize_t and allow callers
to handle the error accordingly.
2021-01-04 19:46:44 +01:00
..
direct-freebsd.c backend/session: replace session_signal with events.active 2020-11-19 22:47:49 +01:00
direct-ipc.c session: Don't refuse unprivileged creation of "direct" backend 2020-09-04 11:39:25 +02:00
direct.c backend/session: replace session_signal with events.active 2020-11-19 22:47:49 +01:00
libseat.c backend/session/libseat: set XDG_SESSION_TYPE 2020-12-05 00:14:04 +01:00
logind.c backend/session/logind: log when using XDG_SESSION_ID 2020-11-19 22:47:49 +01:00
meson.build backend/session/libseat: register log handler 2020-09-01 12:09:25 +02:00
noop.c session: Add libseat backend 2020-08-24 11:13:55 +02:00
session.c backend/session: allow wlr_session_find_gpus to return an error 2021-01-04 19:46:44 +01:00