diff options
author | Derek Upham <sand@blarg.net> | 2009-05-21 00:15:28 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-28 08:53:56 +1000 |
commit | 0a3657d2ee62f4086e9687218cb33835ba61a0b3 (patch) | |
tree | 2a30ebd462a8c0f4e4e64251753a5f285cfcf167 /src/emuMB.c | |
parent | Deal with BTN_3 to BTN_9 buttons. (diff) | |
download | xf86-input-evdev-0a3657d2ee62f4086e9687218cb33835ba61a0b3.tar.gz xf86-input-evdev-0a3657d2ee62f4086e9687218cb33835ba61a0b3.tar.bz2 xf86-input-evdev-0a3657d2ee62f4086e9687218cb33835ba61a0b3.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>
Diffstat (limited to 'src/emuMB.c')
0 files changed, 0 insertions, 0 deletions