From 718ff146e07866c41beeff1b2f04776f48447135 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 19 Nov 2020 11:55:25 +0200 Subject: [PATCH] Fix focus loss on macOS. --- platform/osx/os_osx.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index ec587062d34..ae7ace16671 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -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