|
@@ -168,6 +168,10 @@ static NSCursor *cursorFromSelector(SEL selector, SEL fallback = nil) {
|
|
|
|
|
|
@implementation GodotApplicationDelegate
|
|
@implementation GodotApplicationDelegate
|
|
|
|
|
|
|
|
+- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
|
|
|
+ return YES;
|
|
|
|
+}
|
|
|
|
+
|
|
- (void)forceUnbundledWindowActivationHackStep1 {
|
|
- (void)forceUnbundledWindowActivationHackStep1 {
|
|
// Step 1: Switch focus to macOS SystemUIServer process.
|
|
// Step 1: Switch focus to macOS SystemUIServer process.
|
|
// Required to perform step 2, TransformProcessType will fail if app is already the in focus.
|
|
// Required to perform step 2, TransformProcessType will fail if app is already the in focus.
|