comparison 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
comparison
equal deleted inserted replaced
25:052cb8254a87 26:1e27a0b1ed63
385 if (rolloverTrackingArea != nil) { 385 if (rolloverTrackingArea != nil) {
386 [self removeTrackingArea:rolloverTrackingArea]; 386 [self removeTrackingArea:rolloverTrackingArea];
387 [rolloverTrackingArea release]; 387 [rolloverTrackingArea release];
388 } 388 }
389 389
390 int options = (NSTrackingActiveInActiveApp | NSTrackingMouseEnteredAndExited | 390 int options = (NSTrackingActiveAlways | NSTrackingMouseEnteredAndExited |
391 NSTrackingMouseMoved | NSTrackingEnabledDuringMouseDrag); 391 NSTrackingMouseMoved | NSTrackingEnabledDuringMouseDrag);
392 392
393 rolloverTrackingArea = [[NSTrackingArea alloc] initWithRect:[self visibleRect] 393 rolloverTrackingArea = [[NSTrackingArea alloc] initWithRect:[self visibleRect]
394 options:options 394 options:options
395 owner:self 395 owner:self