aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-17 15:46:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-17 15:46:54 +0000
commit6e63fdb0535b3357835264c8d8727112b4d3e06a (patch)
tree799fd57d150fc63f52aef1cefa0a14547b2eb95e /config.h
parentterm: ptmx: don't set 'pending' flag when app sync updates are in use (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
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);