diff options
Diffstat (limited to 'src/synaptics.c')
-rw-r--r-- | src/synaptics.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synaptics.c b/src/synaptics.c index 350567d..8c34234 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1635,6 +1635,10 @@ ReadInput(InputInfoPtr pInfo) hw->cumulative_dy = priv->hwState->cumulative_dy; } + /* timer may cause actual events to lag behind (#48777) */ + if (priv->hwState->millis > hw->millis) + hw->millis = priv->hwState->millis; + SynapticsCopyHwState(priv->hwState, hw); delay = HandleState(pInfo, hw, hw->millis, FALSE); newDelay = TRUE; |