wlroots-hyprland/backend/drm
emersion f8056a0350
backend/drm: fix disappeared output indices
This commit changes `scan_drm_connectors` to add new outputs to the end of the
list. That way, it's easier to understand what's going on with indices.

When we need to destroy outputs, we now walk the list in reverse order. This
ensures indices remain correct while iterating and removing items from the
list.

We now also make outputs without a CRTC disappear (those are in
WLR_DRM_CONN_NEEDS_MODESET state).
2018-12-09 10:12:52 +01:00
..
atomic.c backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variable 2018-10-28 23:43:21 +01:00
backend.c Rename get_present_clock to get_presentation clock, use it 2018-10-04 22:00:22 +02:00
drm.c backend/drm: fix disappeared output indices 2018-12-09 10:12:52 +01:00
legacy.c output: make gamma size a size_t and gamma table const 2018-10-03 10:36:33 +02:00
properties.c backend/drm: add support for the link-status property 2018-10-04 21:54:27 +02:00
renderer.c backend/drm: specify minimum config attributes 2018-11-04 09:00:55 +01:00
util.c backend/drm: update EDID manufacturers database 2018-10-04 10:58:45 +02:00