allow change adaptive sync in outputmgrapplyortest()

This commit is contained in:
Leonardo Hernández Hernández 2022-10-29 18:30:09 -05:00
parent 6a0ec2a8c3
commit 8298f20a71
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 2 additions and 0 deletions

2
dwl.c
View File

@ -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) {