summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-26 17:39:32 +0300
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-03 11:28:17 +1000
commit231061d004ee4e924bb736adc428287367d2001c (patch)
treee33dd0bdd55cfcd16947042671a1f3e3ac67b00f
parent425ed6017a42937f69c1e8450ea8f3c6c6c20928 (diff)
Don't send pointer events in addition to touch events
Updating abs_vals for touch events since d24431a1863c49aa9edcabf535ffa64bfa87053c leads to posting Motion events with updated coordinates to the X server, which in turn resends them to clients. Don't queue Motion events for touch events, the X server should synthesize them itself. Signed-off-by: Alexander Volkov <a.volkov@rusbitech.ru> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 96fd97d..f627fd0 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -784,7 +784,6 @@ EvdevProcessAbsoluteMotionEvent(InputInfoPtr pInfo, struct input_event *ev)
if (ev->code >= ABS_MT_SLOT) {
EvdevProcessTouchEvent(pInfo, ev);
- pEvdev->abs_queued = 1;
} else if (!pEvdev->mt_mask) {
map = pEvdev->abs_axis_map[ev->code];