1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #88050 from bruvzg/sec_state

[macOS] Enabled secure restorable state.
This commit is contained in:
Rémi Verschelde
2024-02-07 11:07:09 +01:00

View File

@@ -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.