wlt: toolkit: repeat key events
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 10:56:18 +0000 (12:56 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 10:56:18 +0000 (12:56 +0200)
commitf391ee24aaaf408dbd41fe342c08c81bebe721aa
tree129edfd8b4a0f1b3e8edeab17ad662e53a84356b
parentb3aba6f61caad9100f1f938c47619a421fcbd114
wlt: toolkit: repeat key events

This adds a timer that automatically repeats key-events while pressed. In
the XKB-1 protocol embedded in wayland, key-repeates are not sent for
performance reason so we have to emulate them.

It is currently unclear where to take key-repeat rates from. This will be
solved in the future, though.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_toolkit.c