diff src/macosx/native/sun/awt/AWTView.m @ 7518:7cc7125f42f6

8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS Reviewed-by: alexsch, pchelko
author dmarkov
date Fri, 07 Mar 2014 10:58:52 +0400
parents e03ef8c99170
children 7f90a19c3748
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/AWTView.m	Tue Apr 29 14:42:10 2014 -0700
+++ b/src/macosx/native/sun/awt/AWTView.m	Fri Mar 07 10:58:52 2014 +0400
@@ -387,7 +387,7 @@
         [rolloverTrackingArea release];
     }
 
-    int options = (NSTrackingActiveInActiveApp | NSTrackingMouseEnteredAndExited |
+    int options = (NSTrackingActiveAlways | NSTrackingMouseEnteredAndExited |
                    NSTrackingMouseMoved | NSTrackingEnabledDuringMouseDrag);
 
     rolloverTrackingArea = [[NSTrackingArea alloc] initWithRect:[self visibleRect]