From daad465fcdf4f3d861f1cce9a08d97a6fe3639fc Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Sat, 18 Nov 2017 20:19:22 -0800 Subject: [PATCH] :wrench: Eh, let's do it for all the types --- atom/browser/native_window_mac.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index b520e6384e5f..59301fc7a982 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -962,13 +962,14 @@ NativeWindowMac::NativeWindowMac( // We will manage window's lifetime ourselves. [window_ setReleasedWhenClosed:NO]; - // Hide the title bar. - if (title_bar_style_ == HIDDEN_INSET || title_bar_style_ == HIDDEN) { + // Hide the title bar background + if (title_bar_style_ != NORMAL) { if (base::mac::IsAtLeastOS10_10()) { [window_ setTitlebarAppearsTransparent:YES]; } } + // Hide the title bar. if (title_bar_style_ == HIDDEN_INSET) { if (base::mac::IsAtLeastOS10_10()) { base::scoped_nsobject toolbar(