diff options
| author | Alan Third | 2022-03-10 21:23:55 +0000 |
|---|---|---|
| committer | Alan Third | 2022-03-10 21:23:55 +0000 |
| commit | 22dde4e621fb49b9f05d560aee22332ad60bf485 (patch) | |
| tree | 6fcfe1716e273b7d38ee08cff1d0fae34a64299b /src | |
| parent | c6e079ae15002268d90869a43f66d962175e4cdb (diff) | |
| download | emacs-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.m | 2 |
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); |