diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-10-09 13:23:09 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-10-09 13:23:09 +0200 |
commit | a17aa99ff9a08bb7963cfb1c6e7760441af6256b (patch) | |
tree | 6810da47772a9692191a87ac325669402a07b5e5 /src/uterm_input_uxkb.c | |
parent | cbff71f6e2bcfc64005bc49ea3e64a7e3aced6f0 (diff) |
kmscon: add --xkb-repeat-rate/delay command-line arguments
These new arguments allow changing the xkb-repeat settings for kmscon.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/uterm_input_uxkb.c')
-rw-r--r-- | src/uterm_input_uxkb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uterm_input_uxkb.c b/src/uterm_input_uxkb.c index 0d40274..a89b59e 100644 --- a/src/uterm_input_uxkb.c +++ b/src/uterm_input_uxkb.c @@ -233,9 +233,9 @@ int uxkb_dev_process(struct uterm_input_dev *dev, } spec.it_interval.tv_sec = 0; - spec.it_interval.tv_nsec = dev->repeat_rate * 1000000; + spec.it_interval.tv_nsec = dev->input->repeat_rate * 1000000; spec.it_value.tv_sec = 0; - spec.it_value.tv_nsec = dev->repeat_delay * 1000000; + spec.it_value.tv_nsec = dev->input->repeat_delay * 1000000; ev_timer_update(dev->repeat_timer, &spec); } |