Skip to content

Commit

Permalink
Merge 45b0d75 into 6c1a0ca
Browse files Browse the repository at this point in the history
  • Loading branch information
alblue committed Jan 27, 2021
2 parents 6c1a0ca + 45b0d75 commit 8201570
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
GET_MAIN_JENV;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
{
NSApplication *app = [NSApplication sharedApplication];
[app setActivationPolicy:NSApplicationActivationPolicyRegular];
[app activateIgnoringOtherApps:true];

(*env)->CallVoidMethod(env, self->jApplication, [GlassHelper ApplicationNotifyDidFinishLaunchingMethod]);
}
[pool drain];
Expand Down

0 comments on commit 8201570

Please sign in to comment.