backend/drm: set adaptive_sync_status again

Fixes: d7d974ae30
This commit is contained in:
Kirill Primak 2024-03-15 10:39:05 +03:00
parent bda1b41ee2
commit 71be993982

View File

@ -301,6 +301,9 @@ void drm_atomic_connector_apply_commit(struct wlr_drm_connector_state *state) {
commit_blob(drm, &crtc->mode_id, state->mode_id);
commit_blob(drm, &crtc->gamma_lut, state->gamma_lut);
conn->output.adaptive_sync_status = state->vrr_enabled ?
WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED : WLR_OUTPUT_ADAPTIVE_SYNC_DISABLED;
destroy_blob(drm, state->fb_damage_clips);
}