winemac: Don't coalesce events which might be in multiple queues.
This commit is contained in:
parent
f561f8a2be
commit
9deb00bfdc
|
@ -177,9 +177,11 @@ - (void) postEventObject:(MacDrvEvent*)event
|
||||||
|
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue