mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-17 04:25:58 +00:00
Fix focus loss on macOS.
This commit is contained in:
@@ -3384,9 +3384,6 @@ OS_OSX::OS_OSX() {
|
||||
// Implicitly create shared NSApplication instance
|
||||
[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
|
||||
// finishLaunching below, in order to properly emulate the behavior
|
||||
// of NSApplicationMain
|
||||
|
||||
Reference in New Issue
Block a user