Huw Davies : winemac: Add discardEventsPassingTest to WineEventQueue's interface.
Alexandre Julliard
julliard at winehq.org
Tue Mar 9 14:55:17 CST 2021
Module: wine
Branch: master
Commit: 7a68ae5951160c631bfcfc0b6a3acf76188b4c04
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7a68ae5951160c631bfcfc0b6a3acf76188b4c04
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Mar 8 10:42:02 2021 +0000
winemac: Add discardEventsPassingTest to WineEventQueue's interface.
This is called from the status item implementation.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winemac.drv/cocoa_event.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/winemac.drv/cocoa_event.h b/dlls/winemac.drv/cocoa_event.h
index 72ff8f9c6d4..1cc7e8ac4ba 100644
--- a/dlls/winemac.drv/cocoa_event.h
+++ b/dlls/winemac.drv/cocoa_event.h
@@ -53,6 +53,7 @@ enum {
- (void) postEvent:(macdrv_event*)inEvent;
- (void) discardEventsMatchingMask:(macdrv_event_mask)mask forWindow:(NSWindow*)window;
+ - (void) discardEventsPassingTest:(BOOL (^)(macdrv_event* event))block;
- (BOOL) query:(macdrv_query*)query timeout:(NSTimeInterval)timeout flags:(NSUInteger)flags;
- (BOOL) query:(macdrv_query*)query timeout:(NSTimeInterval)timeout;
More information about the wine-cvs
mailing list