Commit 9deb00bf authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent f561f8a2
...@@ -177,9 +177,11 @@ static const OSType WineHotKeySignature = 'Wine'; ...@@ -177,9 +177,11 @@ static const OSType WineHotKeySignature = 'Wine';
if ((event->event->type == MOUSE_MOVED || if ((event->event->type == MOUSE_MOVED ||
event->event->type == MOUSE_MOVED_ABSOLUTE) && event->event->type == MOUSE_MOVED_ABSOLUTE) &&
event->event->deliver == INT_MAX &&
(lastEvent = [events lastObject]) && (lastEvent = [events lastObject]) &&
(lastEvent->event->type == MOUSE_MOVED || (lastEvent->event->type == MOUSE_MOVED ||
lastEvent->event->type == MOUSE_MOVED_ABSOLUTE) && lastEvent->event->type == MOUSE_MOVED_ABSOLUTE) &&
lastEvent->event->deliver == INT_MAX &&
lastEvent->event->window == event->event->window && lastEvent->event->window == event->event->window &&
lastEvent->event->mouse_moved.drag == event->event->mouse_moved.drag) lastEvent->event->mouse_moved.drag == event->event->mouse_moved.drag)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment