From 16766045adc9c08be3ba575ff3b82b684336ce4a Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Mon, 26 Dec 2016 17:39:32 +0300 Subject: [PATCH] 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 --- src/evdev.c | 1 - 1 file changed, 1 deletion(-) 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]; -- 2.10.2