diff --git a/atom/browser/ui/cocoa/atom_ns_window_delegate.mm b/atom/browser/ui/cocoa/atom_ns_window_delegate.mm index 78bfe1fcd7b5..68ee2798ed0e 100644 --- a/atom/browser/ui/cocoa/atom_ns_window_delegate.mm +++ b/atom/browser/ui/cocoa/atom_ns_window_delegate.mm @@ -203,6 +203,7 @@ // Set window style to hide the toolbar, otherwise the toolbar will show // in fullscreen mode. + [window setTitlebarAppearsTransparent:NO]; shell_->SetStyleMask(true, NSFullSizeContentViewWindowMask); } } @@ -221,6 +222,7 @@ // Turn off the style for toolbar. if (shell_->title_bar_style() == atom::NativeWindowMac::HIDDEN_INSET) { shell_->SetStyleMask(false, NSFullSizeContentViewWindowMask); + [window setTitlebarAppearsTransparent:YES]; } } }