mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-14 01:15:59 +01:00
e8d56ca415
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. |
||
---|---|---|
.. | ||
session | ||
drm.h | ||
headless.h | ||
interface.h | ||
libinput.h | ||
multi.h | ||
noop.h | ||
session.h | ||
wayland.h | ||
x11.h |