wlroots/include/wlr/backend
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
..
session meson: Various improvements 2019-12-23 07:48:29 -05:00
drm.h Remove wlr_create_renderer_func_t 2020-12-30 17:09:40 +01:00
headless.h Remove wlr_create_renderer_func_t 2020-12-30 17:09:40 +01:00
interface.h Rename get_present_clock to get_presentation clock, use it 2018-10-04 22:00:22 +02:00
libinput.h Remove all wayland-server.h includes 2019-07-27 15:49:32 -04:00
multi.h Use sd_bus_get_property_trivial & remove numbering 2018-10-04 14:04:06 +02:00
noop.h Introduce noop backend 2019-01-17 20:13:55 +10:00
session.h backend/session: allow wlr_session_find_gpus to return an error 2021-01-04 19:46:44 +01:00
wayland.h Remove wlr_create_renderer_func_t 2020-12-30 17:09:40 +01:00
x11.h Remove wlr_create_renderer_func_t 2020-12-30 17:09:40 +01:00