mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
9560a7eefd
We were using the legacy API (with a detour through drmModeEncoder) to find out the current CRTC for a connector. Use the atomic API when available. Also extract the whole logic into a separate function for better readability, and better handle errors. |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
cvt.c | ||
drm.c | ||
legacy.c | ||
meson.build | ||
monitor.c | ||
properties.c | ||
renderer.c | ||
util.c |