mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-06 15:41:27 -08:00
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 @@ ns_in_echo_area (void)
|
|||
|
||||
- (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
Add a link
Reference in a new issue