mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-28 04:31:37 +00:00
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?
This commit is contained in:
parent
6b47e2bb62
commit
444a5f9dec
1 changed files with 1 additions and 0 deletions
1
dwl.c
1
dwl.c
|
@ -848,6 +848,7 @@ createmon(struct wl_listener *listener, void *data)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
wlr_output_enable_adaptive_sync(wlr_output, true);
|
||||||
/* Set up event listeners */
|
/* Set up event listeners */
|
||||||
m->frame.notify = rendermon;
|
m->frame.notify = rendermon;
|
||||||
wl_signal_add(&wlr_output->events.frame, &m->frame);
|
wl_signal_add(&wlr_output->events.frame, &m->frame);
|
||||||
|
|
Loading…
Reference in a new issue