diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp index ce616a475..e35050cb6 100644 --- a/libs/ui/InputDispatcher.cpp +++ b/libs/ui/InputDispatcher.cpp @@ -201,7 +201,8 @@ void InputDispatcher::dispatchOnce() { } #endif - mThrottleState.lastEventTime = currentTime; + mThrottleState.lastEventTime = entry->eventTime < currentTime + ? entry->eventTime : currentTime; mThrottleState.lastDeviceId = deviceId; mThrottleState.lastSource = source; }