wlroots-hyprland/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
..
drm backend/drm: stash pending page-flip CRTC 2021-01-03 19:35:02 +01:00
headless Remove wlr_create_renderer_func_t 2020-12-30 17:09:40 +01:00
libinput backend/session: replace session_signal with events.active 2020-11-19 22:47:49 +01:00
multi backend/multi: handle backends depending on each other properly 2020-05-02 19:36:03 +02:00
noop noop: listen to display destroy and destroy the backend 2020-12-31 20:34:36 +01:00
session backend/session: allow wlr_session_find_gpus to return an error 2021-01-04 19:46:44 +01:00
wayland backend/wayland: re-use cursor wl_buffers 2021-01-04 13:48:28 +01:00
x11 backend/x11: print version on extension error 2020-12-31 20:17:31 +01:00
backend.c backend/session: allow wlr_session_find_gpus to return an error 2021-01-04 19:46:44 +01:00
meson.build Drop RDP backend 2020-01-10 19:38:39 +01:00