Ken Thomases : winemac: Process clicks in an inactive window in addition to activating it.
Alexandre Julliard
julliard at winehq.org
Thu Feb 7 14:07:23 CST 2013
Module: wine
Branch: master
Commit: 033fe9a7c2bf1722c3cd2596dfcd78510ada12a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=033fe9a7c2bf1722c3cd2596dfcd78510ada12a9
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Feb 6 19:32:30 2013 -0600
winemac: Process clicks in an inactive window in addition to activating it.
---
dlls/winemac.drv/cocoa_window.m | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m
index c7739a4..bd6f086 100644
--- a/dlls/winemac.drv/cocoa_window.m
+++ b/dlls/winemac.drv/cocoa_window.m
@@ -216,6 +216,11 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
[[self window] rightMouseDown:theEvent];
}
+ - (BOOL) acceptsFirstMouse:(NSEvent*)theEvent
+ {
+ return YES;
+ }
+
@end
More information about the wine-cvs
mailing list