From 10a9205535c20ff951c61fb84a32b9ab6511fc67 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 27 Sep 2023 20:46:26 +0200 Subject: [PATCH] ; Silence macOS 14 warning * src/nsterm.m: Implement 'applicationSupportsSecureRestorableState' to silence warning on macOS 14. --- src/nsterm.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nsterm.m b/src/nsterm.m index 4e0dfa58c63..e46b71a499b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6110,6 +6110,11 @@ - (void)antialiasThresholdDidChange:(NSNotification *)notification */ +- (BOOL) applicationSupportsSecureRestorableState:(NSApplication *)app +{ + return YES; +} + - (void) terminate: (id)sender { struct input_event ie; -- 2.42.0