diff options
author | Derek Upham <sand@blarg.net> | 2009-05-21 00:15:28 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-30 09:44:33 +1000 |
commit | 4dda242d56a7830d5b44d7e58cf6a95f62a617ce (patch) | |
tree | 3c5ba30447f77833e77dfa9b82113d597a993af7 /src/emuWheel.c | |
parent | Deal with BTN_3 to BTN_9 buttons. (diff) | |
download | xf86-input-evdev-4dda242d56a7830d5b44d7e58cf6a95f62a617ce.tar.gz xf86-input-evdev-4dda242d56a7830d5b44d7e58cf6a95f62a617ce.tar.bz2 xf86-input-evdev-4dda242d56a7830d5b44d7e58cf6a95f62a617ce.zip |
evdev: Prevent driver from processing motion events that it has not configured. #21832
The current implementation initializes itself to support relative
motion events, or absolute motion events, or neither. But the
event-handling code attempts to process all events, no matter what the
initialization was. This patch reproduces the flag tests found during
init, to skip events that the driver doesn't support.
Signed-off-by: Derek Upham <sand@blarg.net>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 0a3657d2ee62f4086e9687218cb33835ba61a0b3)
Diffstat (limited to 'src/emuWheel.c')
0 files changed, 0 insertions, 0 deletions