aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-10-29 18:30:09 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-10-29 18:30:09 -0500
commit8298f20a7174eb9c70b375b92810ab3320fedf97 (patch)
treedeb819964f823bfa811fed3c5a52444bb0dc082f
parent6a0ec2a8c3e470ce76353008e79da7e764c0af6f (diff)
allow change adaptive sync in outputmgrapplyortest()
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 3ba4eaf..7d41883 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1557,6 +1557,8 @@ outputmgrapplyortest(struct wlr_output_configuration_v1 *config, int test)
config_head->state.x, config_head->state.y);
wlr_output_set_transform(wlr_output, config_head->state.transform);
wlr_output_set_scale(wlr_output, config_head->state.scale);
+ wlr_output_enable_adaptive_sync(wlr_output,
+ config_head->state.adaptive_sync_enabled);
apply_or_test:
if (test) {