From c4ffb91190d77f4a323df39741889a702ae01947 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 14 Jul 2017 11:49:40 -0700 Subject: [PATCH] :art: --- atom/browser/native_window_mac.mm | 1 - atom/common/options_switches.cc | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index d0472f20f3..68ee36eabc 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -340,7 +340,6 @@ bool ScopedDisableResize::disable_resize_ = false; // titlebar is expected to be empty, but after entering fullscreen mode we // have to set one, because title bar is visible here. NSWindow* window = shell_->GetNativeWindow(); - if ((shell_->transparent() || !shell_->has_frame()) && base::mac::IsAtLeastOS10_10() && // FIXME(zcbenz): Showing titlebar for hiddenInset window is weird under diff --git a/atom/common/options_switches.cc b/atom/common/options_switches.cc index f3629c93e9..38f96abbd9 100644 --- a/atom/common/options_switches.cc +++ b/atom/common/options_switches.cc @@ -49,8 +49,7 @@ const char kUseContentSize[] = "useContentSize"; const char kZoomToPageWidth[] = "zoomToPageWidth"; // Whether always show title text in full screen is enabled. -const char kFullscreenWindowTitle[] = -"fullscreenWindowTitle"; +const char kFullscreenWindowTitle[] = "fullscreenWindowTitle"; // The requested title bar style for the window const char kTitleBarStyle[] = "titleBarStyle";