Here is a patch for position filter inhibit for xi, please test :-)
diff --git a/src/frame-xi2.c b/src/frame-xi2.c index 7fc38fd..98a43bd 100644 --- a/src/frame-xi2.c +++ b/src/frame-xi2.c @@ -288,6 +288,8 @@ utouch_frame_pump_xi2(utouch_frame_handle fh, const XIDevice Event *ev) for (i = 0; i < nbit; i++) if (XIMaskIsSet(mask, i)) handle_event(fh, slot, i, value[num++]); + /* no velocity adjustments without device time stamps */ + slot->vx = slot->vy = 0; if (ev->evtype == XI_TouchEnd) utouch_frame_get_current_slot(fh)->id = -1; return utouch_frame_sync(fh, ev->time);
« Back to merge proposal
Here is a patch for position filter inhibit for xi, please test :-)
diff --git a/src/frame-xi2.c b/src/frame-xi2.c frame_pump_ xi2(utouch_ frame_handle fh, const XIDevice event(fh, slot, i, value[num++]); frame_get_ current_ slot(fh) ->id = -1; frame_sync( fh, ev->time);
index 7fc38fd..98a43bd 100644
--- a/src/frame-xi2.c
+++ b/src/frame-xi2.c
@@ -288,6 +288,8 @@ utouch_
Event *ev)
for (i = 0; i < nbit; i++)
if (XIMaskIsSet(mask, i))
handle_
+ /* no velocity adjustments without device time stamps */
+ slot->vx = slot->vy = 0;
if (ev->evtype == XI_TouchEnd)
utouch_
return utouch_