From 6e63fdb0535b3357835264c8d8727112b4d3e06a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 17 Mar 2020 16:46:54 +0100 Subject: 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. --- config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index bf205305..5d6ec0f0 100644 --- a/config.h +++ b/config.h @@ -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); -- cgit v1.3