aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/pointer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-12-09 10:05:03 +0100
committeremersion <contact@emersion.fr>2018-12-09 10:12:52 +0100
commitf8056a0350ba3d13bdcc9168740c11b9356f626d (patch)
tree195843dee3f611e915c2fa2d7647727832fbc3c8 /backend/libinput/pointer.c
parent3699496256cd7a7c381dbc2cd6afe39cda9390dc (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 'backend/libinput/pointer.c')
0 files changed, 0 insertions, 0 deletions