diff options
Diffstat (limited to 'platform/macos/godot_application_delegate.mm')
-rw-r--r-- | platform/macos/godot_application_delegate.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/macos/godot_application_delegate.mm b/platform/macos/godot_application_delegate.mm index a1925195b8..c1de8ade58 100644 --- a/platform/macos/godot_application_delegate.mm +++ b/platform/macos/godot_application_delegate.mm @@ -35,6 +35,10 @@ @implementation GodotApplicationDelegate +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app { + return YES; +} + - (void)forceUnbundledWindowActivationHackStep1 { // Step 1: Switch focus to macOS SystemUIServer process. // Required to perform step 2, TransformProcessType will fail if app is already the in focus. |