diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 6f93b0849682..8d78a1204348 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -1098,6 +1098,9 @@ void NativeWindowMac::InstallView() { [view setFrame:[content_view_ bounds]]; [content_view_ addSubview:view]; + // The fullscreen button should always be hidden for frameless window. + [[window_ standardWindowButton:NSWindowFullScreenButton] setHidden:YES]; + if (title_bar_style_ != NORMAL) return;