Browse Source

Merge pull request #43678 from bruvzg/fix_focus_loss

Fix focus loss on macOS.
Rémi Verschelde 4 years ago
parent
commit
93936ad978
1 changed files with 0 additions and 3 deletions
  1. 0 3
      platform/osx/os_osx.mm

+ 0 - 3
platform/osx/os_osx.mm

@@ -3384,9 +3384,6 @@ OS_OSX::OS_OSX() {
 	// Implicitly create shared NSApplication instance
 	// Implicitly create shared NSApplication instance
 	[GodotApplication sharedApplication];
 	[GodotApplication sharedApplication];
 
 
-	// In case we are unbundled, make us a proper UI application
-	[NSApp setActivationPolicy:(NSApplicationActivationPolicyAccessory)];
-
 	// Menu bar setup must go between sharedApplication above and
 	// Menu bar setup must go between sharedApplication above and
 	// finishLaunching below, in order to properly emulate the behavior
 	// finishLaunching below, in order to properly emulate the behavior
 	// of NSApplicationMain
 	// of NSApplicationMain