winemac: Don't coalesce events which might be in multiple queues.

This commit is contained in:
Ken Thomases 2013-10-17 23:43:31 -05:00 committed by Alexandre Julliard
parent f561f8a2be
commit 9deb00bfdc

View File

@ -177,9 +177,11 @@ static const OSType WineHotKeySignature = 'Wine';
if ((event->event->type == MOUSE_MOVED ||
event->event->type == MOUSE_MOVED_ABSOLUTE) &&
event->event->deliver == INT_MAX &&
(lastEvent = [events lastObject]) &&
(lastEvent->event->type == MOUSE_MOVED ||
lastEvent->event->type == MOUSE_MOVED_ABSOLUTE) &&
lastEvent->event->deliver == INT_MAX &&
lastEvent->event->window == event->event->window &&
lastEvent->event->mouse_moved.drag == event->event->mouse_moved.drag)
{