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
Failed to generate hash of commit

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