diff --git modules/gui/macosx/Windows.m modules/gui/macosx/Windows.m index 8b6e059edb891deb6c3cfdf476424a7b1d9481de..32d56478ac4283f3c4f2ac4b3f6cca72631c5584 100644 --- modules/gui/macosx/Windows.m +++ modules/gui/macosx/Windows.m @@ -431,6 +431,7 @@ bottom edge is on the screen or can be on the screen when the user moves the window */ difference = NSMaxY (screenRect) - NSMaxY (frameRect); +#if !defined(MAC_OS_X_VERSION_10_13) || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_13) if (_styleMask & NSResizableWindowMask) { CGFloat difference2; @@ -450,6 +451,7 @@ frameRect.origin.y -= difference2; } } +#endif return frameRect; }