aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2022-03-10 21:23:55 +0000
committerAlan Third2022-03-10 21:23:55 +0000
commit22dde4e621fb49b9f05d560aee22332ad60bf485 (patch)
tree6fcfe1716e273b7d38ee08cff1d0fae34a64299b /src
parentc6e079ae15002268d90869a43f66d962175e4cdb (diff)
downloademacs-22dde4e621fb49b9f05d560aee22332ad60bf485.tar.gz
emacs-22dde4e621fb49b9f05d560aee22332ad60bf485.zip
Fix NS toolbar identifier (bug#54326)
* src/nsterm.m ([EmacsWindow createToolbar:]): Set the identifier to something that will always be unique to that frame.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m2
1 files changed, 1 insertions, 1 deletions
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)
8390 8390
8391 EmacsToolbar *toolbar = [[EmacsToolbar alloc] 8391 EmacsToolbar *toolbar = [[EmacsToolbar alloc]
8392 initForView:view 8392 initForView:view
8393 withIdentifier:[NSString stringWithLispString:f->name]]; 8393 withIdentifier:[NSString stringWithFormat:@"%p", f]];
8394 8394
8395 [self setToolbar:toolbar]; 8395 [self setToolbar:toolbar];
8396 update_frame_tool_bar_1 (f, toolbar); 8396 update_frame_tool_bar_1 (f, toolbar);