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.
This commit is contained in:
shdown 2014-08-30 14:33:42 +04:00 committed by wm4
parent 8ee1bcf1fa
commit 3307af43c5
1 changed files with 2 additions and 2 deletions

View File

@ -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;