diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-13 15:29:31 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-10-14 15:13:14 +0000 |
commit | 9560a7eefdffcd3694827bd2c6db28696f6ac957 (patch) | |
tree | 18e3942c4289d0345753560a611b3b23eb51d1fa /examples/multi-pointer.c | |
parent | 3a949ea8eb0277f52d10ef0d54760323752321c9 (diff) |
backend/drm: use atomic API to fetch current connector's CRTC
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.
Diffstat (limited to 'examples/multi-pointer.c')
0 files changed, 0 insertions, 0 deletions