backend/drm: use more descriptive names for match_obj()

This function is only used for connectors and CRTCs, so instead of
the abstract "obj"/"resource" wording, just use the concrete names.
This commit is contained in:
Simon Ser 2024-08-21 21:56:39 +02:00
parent d2a5dbe104
commit 0bf642d246
3 changed files with 45 additions and 41 deletions

View file

@ -1354,7 +1354,7 @@ static void realloc_crtcs(struct wlr_drm_backend *drm,
++i;
}
match_obj(num_connectors, connector_constraints,
match_connectors_with_crtcs(num_connectors, connector_constraints,
drm->num_crtcs, previous_match, new_match);
// Converts our crtc=>connector result into a connector=>crtc one.