diff --git a/atom/browser/native_browser_view_mac.mm b/atom/browser/native_browser_view_mac.mm index 3d77b2a8489..39d785980af 100644 --- a/atom/browser/native_browser_view_mac.mm +++ b/atom/browser/native_browser_view_mac.mm @@ -47,6 +47,10 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask = return; } + if (self.window.styleMask & NSFullScreenWindowMask) { + return; + } + self.initialLocation = [event locationInWindow]; } @@ -56,6 +60,10 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask = return; } + if (self.window.styleMask & NSFullScreenWindowMask) { + return; + } + NSPoint currentLocation = [NSEvent mouseLocation]; NSPoint newOrigin;