diff options
author | shdown <shdownnine@gmail.com> | 2014-08-30 14:33:42 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-30 15:15:37 +0200 |
commit | 3307af43c59e1d61f8f31b3fddfb9fdcd53992b0 (patch) | |
tree | 869e27e04f2475bc9246bfeb1b7334b40b9840af /input | |
parent | 8ee1bcf1fac5f05629d4aa5b165e2922bdda6d49 (diff) |
input: make ar_rate and ar_delay fields of input_ctx signed
ar_rate is set to -1 when autorepeat is disabled; there is no reason
for ar_delay to stay unsigned.
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index db6e26aab5..d2a57c726e 100644 --- a/input/input.c +++ b/input/input.c @@ -134,8 +134,8 @@ struct input_ctx { int64_t last_ar; // Autorepeat config - unsigned int ar_delay; - unsigned int ar_rate; + int ar_delay; + int ar_rate; // Maximum number of queued commands from keypresses (limit to avoid // repeated slow commands piling up) int key_fifo_size; |