enable adaptive sync

The comment in this function's declaration says the backend is free to
ignore this setting, so maybe there's no need to make it configurable?
main
Guido Cella 2020-12-11 10:55:33 +01:00
parent 6b47e2bb62
commit 444a5f9dec
1 changed files with 1 additions and 0 deletions

1
dwl.c
View File

@ -848,6 +848,7 @@ createmon(struct wl_listener *listener, void *data)
break;
}
}
wlr_output_enable_adaptive_sync(wlr_output, true);
/* Set up event listeners */
m->frame.notify = rendermon;
wl_signal_add(&wlr_output->events.frame, &m->frame);