diff options
-rw-r--r-- | driver/xf86-input-synaptics/src/wsconscomm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/xf86-input-synaptics/src/wsconscomm.c b/driver/xf86-input-synaptics/src/wsconscomm.c index 00ba7fec9..cc60bb0a3 100644 --- a/driver/xf86-input-synaptics/src/wsconscomm.c +++ b/driver/xf86-input-synaptics/src/wsconscomm.c @@ -252,6 +252,9 @@ WSConsReadHwState(InputInfoPtr pInfo, if (reset) { /* Ensure that pointer motion stops. */ priv->count_packet_finger = 0; + /* Don't use stale coordinates for filtering. */ + priv->hyst_center_x = hw->x; + priv->hyst_center_y = hw->y; if (priv->vert_scroll_twofinger_on || priv->horiz_scroll_twofinger_on) { WSConsAdjustScrollCoords(priv, hw); |