summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEshel Yaron <me@eshelyaron.com>2023-09-27 20:46:26 +0200
committerStefan Kangas <stefankangas@gmail.com>2023-09-29 13:32:55 +0200
commita4185f87bd0e5c129ce93a56b5a3330e2d6b1776 (patch)
treec1bb1cfb42cc373c22c30bd7285327d731818a1c
parentd9d6e14a698967057afb49aeb6a3af17fa645ee4 (diff)
downloademacs-a4185f87bd0e5c129ce93a56b5a3330e2d6b1776.tar.gz
; Silence macOS 14 warning
* src/nsterm.m: Implement 'applicationSupportsSecureRestorableState' to silence warning on macOS 14. (Bug#66245)
-rw-r--r--src/nsterm.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index c809c0b824a..7c9fd102a7f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6124,6 +6124,11 @@ ns_term_shutdown (int sig)
*/
+- (BOOL) applicationSupportsSecureRestorableState: (NSApplication *)app
+{
+ return YES;
+}
+
- (void) terminate: (id)sender
{
struct input_event ie;