diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2015-01-30 12:23:00 +0800 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-02-04 19:39:32 -0800 |
commit | 90d1ac8d491e97b0244aa19ba6fe0d2ac934b720 (patch) | |
tree | 87105d0385ca5a60b48581762e61f6014aa9d71e /src/weston-egl-ext.h | |
parent | e90b9e9b5958d3e613d7e08f58321fc664084dde (diff) | |
download | weston-90d1ac8d491e97b0244aa19ba6fe0d2ac934b720.tar.gz |
libinput: Only forward first and last press and release for a key
Keyboard key events will be received from a device where a key has
been pressed, even though an equivalent key has been pressed (same
key code) on a device connected to the same seat. notify_key()
expects to only be called as if there was only one keyboard device
associated with the given seat, so to achieve this, ignore every event
where forwarding it would result in multiple 'pressed' or 'released'
notifications.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'src/weston-egl-ext.h')
0 files changed, 0 insertions, 0 deletions