diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-19 08:56:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-19 08:56:03 -0400 |
commit | 21eb63cc9ebff4e843595c64e40b5707a158c925 (patch) | |
tree | 8be54bda3c472f31666e0d2fad5b5647d67c62e6 /sway/config | |
parent | 9715e38ca82f891afdb824d02b7f19a2587e24c1 (diff) | |
parent | 2f0120e458cae47f38a3c09af174bae60964151c (diff) |
Merge branch 'master' into fullscreen
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/input.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/config/input.c b/sway/config/input.c index 5e657c43..a9f20723 100644 --- a/sway/config/input.c +++ b/sway/config/input.c @@ -29,6 +29,8 @@ struct input_config *new_input_config(const char* identifier) { input->pointer_accel = FLT_MIN; input->scroll_method = INT_MIN; input->left_handed = INT_MIN; + input->repeat_delay = INT_MIN; + input->repeat_rate = INT_MIN; return input; } @@ -59,6 +61,12 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { if (src->pointer_accel != FLT_MIN) { dst->pointer_accel = src->pointer_accel; } + if (src->repeat_delay != INT_MIN) { + dst->repeat_delay = src->repeat_delay; + } + if (src->repeat_rate != INT_MIN) { + dst->repeat_rate = src->repeat_rate; + } if (src->scroll_method != INT_MIN) { dst->scroll_method = src->scroll_method; } |