conf: make delayed rendering timeouts configurable

This adds an undocumented 'tweak' section to footrc, with two new
options:

* delayed-render-lower
* delayed-render-upper

Both takes an integer value, representing the lower/upper timeout
values (in nano seconds) for delayed rendering.
This commit is contained in:
Daniel Eklöf 2020-03-17 16:46:54 +01:00
parent 29c781b832
commit 6e63fdb053
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 65 additions and 7 deletions

View file

@ -73,6 +73,11 @@ struct config {
char *server_socket_path;
bool presentation_timings;
bool hold_at_exit;
struct {
uint64_t delayed_render_lower_ns;
uint64_t delayed_render_upper_ns;
} tweak;
};
bool config_load(struct config *conf, const char *path);