We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a176574 commit f55f5c6Copy full SHA for f55f5c6
modules/javafx.graphics/src/main/native-glass/mac/GlassApplication.m
@@ -283,11 +283,8 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
283
// but it doesn't get activated, so this is needed:
284
LOG("-> need to active application");
285
dispatch_async(dispatch_get_main_queue(), ^{
286
- [NSApp performSelector: @selector(activate)];
+ [NSApp activateIgnoringOtherApps:YES];
287
});
288
- // TODO: performSelector is used only to avoid a compiler
289
- // warning with the 13.3 SDK. After updating to SDK 14
290
- // this can be converted to a standard call.
291
}
292
293
0 commit comments