summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2013-02-16 05:03:57 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-16 06:52:49 +0400
commit352ce2b0575f195c8e6452a9802e6c186b39409a (patch)
treea3c876c9a891845e2d70135095001b214a3bbf01 /drivers/input
parent0db3863add5cb249520b31a4ad36f275a30e7ba6 (diff)
downloadlinux-352ce2b0575f195c8e6452a9802e6c186b39409a.tar.xz
Input: MT - do not apply filtering on emulated events
The pointer emulation events are derived from contact values that have already been filtered, so send the emulated events as is. Reported-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input-mt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c
index c2f436ce7f5b..53eaf89f2db5 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -18,6 +18,7 @@ static void copy_abs(struct input_dev *dev, unsigned int dst, unsigned int src)
{
if (dev->absinfo && test_bit(src, dev->absbit)) {
dev->absinfo[dst] = dev->absinfo[src];
+ dev->absinfo[dst].fuzz = 0;
dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst);
}
}