My first diff...

This patch has the ws driver update mouse cursor absolute position
before scrolling begins on a touchscreen when wheel emulation is
enabled.

This change should not impact other uses of wheel emulation.

Is this ok?

Index: driver/xf86-input-ws/src/ws.c
===================================================================
RCS file: /cvs/xenocara/driver/xf86-input-ws/src/ws.c,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 driver/xf86-input-ws/src/ws.c
--- driver/xf86-input-ws/src/ws.c    24 Mar 2019 17:59:19 -0000  1.64
+++ driver/xf86-input-ws/src/ws.c    6 Jul 2020 21:57:03 -0000
@@ -679,7 +679,8 @@ wsReadInput(InputInfoPtr pInfo)
         int ydelta = hw.ay - priv->old_ay;
         priv->old_ax = hw.ax;
         priv->old_ay = hw.ay;
-        if (wsWheelEmuFilterMotion(pInfo, xdelta, ydelta))
+        if (wsWheelEmuFilterMotion(pInfo, xdelta, ydelta)
+            && priv->type != WSMOUSE_TYPE_TPANEL)
             return;

         /* absolute position event */

Reply via email to