diff --git a/AppKit/Platform/CPPlatformWindow.j b/AppKit/Platform/CPPlatformWindow.j index 7c665e9bf..fa1917281 100644 --- a/AppKit/Platform/CPPlatformWindow.j +++ b/AppKit/Platform/CPPlatformWindow.j @@ -104,7 +104,7 @@ var PrimaryPlatformWindow = NULL; frame.origin = CGPointMakeZero(); - if ([CPMenu menuBarVisible]) + if ([CPMenu menuBarVisible] && [CPPlatformWindow primaryPlatformWindow] === self) { var menuBarHeight = [[CPApp mainMenu] menuBarHeight];