wlr-output-management: apply adaptive sync state

This commit is contained in:
Alexander Courtis 2023-01-24 21:18:27 +11:00 committed by GitHub
parent a9bfb7c924
commit 4c6f47669b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,6 +461,7 @@ fn processOutputConfig(
} }
wlr_output.setScale(head.state.scale); wlr_output.setScale(head.state.scale);
wlr_output.setTransform(head.state.transform); wlr_output.setTransform(head.state.transform);
wlr_output.enableAdaptiveSync(head.state.adaptive_sync_enabled);
switch (action) { switch (action) {
.test_only => { .test_only => {