Silence warning message in NS (bug#59790)
* src/nsterm.m ([EmacsWindow createToolbar:]): Disable toolbar when fullscreen.
This commit is contained in:
parent
20aa29b037
commit
cf3ea44eb5
1 changed files with 4 additions and 1 deletions
|
@ -9361,7 +9361,10 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
|
|||
|
||||
- (void)createToolbar: (struct frame *)f
|
||||
{
|
||||
if (FRAME_UNDECORATED (f) || !FRAME_EXTERNAL_TOOL_BAR (f) || [self toolbar] != nil)
|
||||
if (FRAME_UNDECORATED (f)
|
||||
|| [self styleMask] == NSWindowStyleMaskBorderless
|
||||
|| !FRAME_EXTERNAL_TOOL_BAR (f)
|
||||
|| [self toolbar] != nil)
|
||||
return;
|
||||
|
||||
EmacsView *view = (EmacsView *)FRAME_NS_VIEW (f);
|
||||
|
|
Loading…
Add table
Reference in a new issue