[macOS] Enabled secure restorable state.
(cherry picked from commit 84380a94f7
)
This commit is contained in:
parent
c13fc678ff
commit
4e12b70a90
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue