Fix secure restore state runtime warning from cocoa being printed to stderr
This commit is contained in:
parent
450aa59303
commit
4c37fff496
1 changed files with 4 additions and 0 deletions
|
|
@ -308,6 +308,10 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
|
|||
return NSTerminateCancel;
|
||||
}
|
||||
|
||||
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||
return YES;
|
||||
}
|
||||
|
||||
static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL;
|
||||
|
||||
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag
|
||||
|
|
|
|||
Loading…
Reference in a new issue