mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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 | ||