diff options
author | Lakshmi Shanmugam | 2018-03-13 12:30:15 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2018-03-15 09:26:09 +0000 |
commit | 82ea2ed2db4dbcd1f814f1865ef18478fe4088bf (patch) | |
tree | 7d23bd8898ffc32e2d89d69b3efcb5eadb74cc6e | |
parent | 87209e6c2c7b67087d3c7e2bda700538ca673cc8 (diff) | |
download | rt.equinox.framework-82ea2ed2db4dbcd1f814f1865ef18478fe4088bf.tar.gz rt.equinox.framework-82ea2ed2db4dbcd1f814f1865ef18478fe4088bf.tar.xz rt.equinox.framework-82ea2ed2db4dbcd1f814f1865ef18478fe4088bf.zip |
Bug 527955: With Java 1.8.0_152 the splash screen on macOS prevents theI20180315-2000
resulting main client shell from being activated and swallows any
user-events (key & mouse events) from being handled correctly.
Use NSAnyEventMask instead of 0 in NSApplication.nextEventMatchingMask
Change-Id: I0e956d19ac0f3d39ae939f3f12be33a8cd3d331d
Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c b/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c index 6e6215d2d..deba3ef3f 100644 --- a/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c +++ b/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c @@ -140,7 +140,7 @@ static NSWindow* window = nil; NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; NSEvent* event; NSApplication* application = [NSApplication sharedApplication]; - while ((event = [application nextEventMatchingMask: 0 untilDate: nil inMode: NSDefaultRunLoopMode dequeue: TRUE]) != nil) { + while ((event = [application nextEventMatchingMask: NSAnyEventMask untilDate: nil inMode: NSDefaultRunLoopMode dequeue: TRUE]) != nil) { [application sendEvent: event]; } [pool release]; |