winemac: Add a delivery limit to events.
authorKen Thomases <ken@codeweavers.com>
Wed, 3 Apr 2013 23:56:41 +0000 (18:56 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Apr 2013 10:14:56 +0000 (12:14 +0200)
commitca2d7140fb6f183f7924767afddddd7557c1dc05
tree1b3a7461753294ee3d30bdbdf6009ffae7cd4e7e
parent1ee93853c2fff0917d43ad498f75f4608eb35238
winemac: Add a delivery limit to events.

Some events are application-wide, not specific to a thread.  Such an event
needs to be broadcast to all GUI-attached threads because we don't know which
are handling events, but we don't want the event to be processed in each.
Often it should only be processed by the first to pull it from its queue.
dlls/winemac.drv/cocoa_app.m
dlls/winemac.drv/cocoa_event.m
dlls/winemac.drv/macdrv_cocoa.h