From 22dde4e621fb49b9f05d560aee22332ad60bf485 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Thu, 10 Mar 2022 21:23:55 +0000 Subject: [PATCH] Fix NS toolbar identifier (bug#54326) * src/nsterm.m ([EmacsWindow createToolbar:]): Set the identifier to something that will always be unique to that frame. --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index 4adb13706d9..fd56094c28b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -8390,7 +8390,7 @@ not_in_argv (NSString *arg) EmacsToolbar *toolbar = [[EmacsToolbar alloc] initForView:view - withIdentifier:[NSString stringWithLispString:f->name]]; + withIdentifier:[NSString stringWithFormat:@"%p", f]]; [self setToolbar:toolbar]; update_frame_tool_bar_1 (f, toolbar); -- 2.39.2