mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
cocoa: squelch secure restorable state warning on macOS 14
This commit is contained in:
parent
0bc290eb2c
commit
144479d8e4
@ -26,6 +26,11 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||||
|
// Squelches an annoying warning.
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
|
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
|
||||||
// This only seems to work when called here.
|
// This only seems to work when called here.
|
||||||
[NSApp activateIgnoringOtherApps:YES];
|
[NSApp activateIgnoringOtherApps:YES];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user