[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 22dde4e621: Fix NS toolbar identifier (bug#54326)
From: |
Alan Third |
Subject: |
master 22dde4e621: Fix NS toolbar identifier (bug#54326) |
Date: |
Thu, 10 Mar 2022 16:26:04 -0500 (EST) |
branch: master
commit 22dde4e621fb49b9f05d560aee22332ad60bf485
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>
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 4adb13706d..fd56094c28 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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 22dde4e621: Fix NS toolbar identifier (bug#54326),
Alan Third <=