mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 06:05:58 +01:00
parent
bda1b41ee2
commit
71be993982
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue