mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Merge branch 'output-adaptive-sync' into 'master'
output: Replace wlr_output_adaptive_sync_status with bool See merge request wlroots/wlroots!4222
This commit is contained in:
commit
8fa643f951
8 changed files with 15 additions and 32 deletions
|
|
@ -126,9 +126,7 @@ static bool legacy_crtc_commit(struct wlr_drm_connector *conn,
|
|||
"drmModeObjectSetProperty(VRR_ENABLED) failed");
|
||||
return false;
|
||||
}
|
||||
output->adaptive_sync_status = state->base->adaptive_sync_enabled ?
|
||||
WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED :
|
||||
WLR_OUTPUT_ADAPTIVE_SYNC_DISABLED;
|
||||
output->adaptive_sync_enabled = state->base->adaptive_sync_enabled;
|
||||
wlr_drm_conn_log(conn, WLR_DEBUG, "VRR %s",
|
||||
state->base->adaptive_sync_enabled ? "enabled" : "disabled");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue