diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 756d2487d2ed..7d627208a5a3 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -737,6 +737,10 @@ bool NativeWindowMac::IsFullscreen() const { } void NativeWindowMac::SetBounds(const gfx::Rect& bounds, bool animate) { + // Do nothing if in fullscreen mode. + if (IsFullscreen()) + return; + // Check size constraints since setFrame does not check it. gfx::Size size = bounds.size(); size.SetToMax(GetMinimumSize());