do not try to enable adaptive sync

This commit is contained in:
Leonardo Hernández Hernández 2023-11-18 11:20:56 -06:00
parent fcf324be6c
commit 2751a6195d
No known key found for this signature in database
GPG key ID: E538897EE11B9624

5
dwl.c
View file

@ -903,11 +903,6 @@ createmon(struct wl_listener *listener, void *data)
if (!wlr_output_commit(wlr_output)) if (!wlr_output_commit(wlr_output))
return; return;
/* Try to enable adaptive sync, note that not all monitors support it.
* wlr_output_commit() will deactivate it in case it cannot be enabled */
wlr_output_enable_adaptive_sync(wlr_output, 1);
wlr_output_commit(wlr_output);
wl_list_insert(&mons, &m->link); wl_list_insert(&mons, &m->link);
printstatus(); printstatus();