[PATCH] dinput: Skip old mouse movement evenets.
Alexandre Julliard
julliard at winehq.org
Thu Feb 7 04:38:31 CST 2008
Vitaliy Margolen <wine-patches at kievinfo.com> writes:
> @@ -280,6 +281,9 @@ static void dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARA
> {
> POINT pt, pt1;
>
> + /* Skip old movement events */
> + if (This->last_event_time > hook->time) break;
That's not an appropriate way to compare timestamps.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list