diff options
author | emersion <contact@emersion.fr> | 2018-12-09 10:05:03 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-09 10:12:52 +0100 |
commit | f8056a0350ba3d13bdcc9168740c11b9356f626d (patch) | |
tree | 195843dee3f611e915c2fa2d7647727832fbc3c8 /include/rootston/seat.h | |
parent | 3699496256cd7a7c381dbc2cd6afe39cda9390dc (diff) |
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).
Diffstat (limited to 'include/rootston/seat.h')
0 files changed, 0 insertions, 0 deletions