mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Fix secure restore state runtime warning from cocoa being printed to stderr
This commit is contained in:
@@ -308,6 +308,10 @@ static NSDictionary<NSString*,NSNumber*> *global_shortcuts = nil;
|
|||||||
return NSTerminateCancel;
|
return NSTerminateCancel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL;
|
static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL;
|
||||||
|
|
||||||
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag
|
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag
|
||||||
|
|||||||
Reference in New Issue
Block a user