diff options
-rw-r--r-- | cocoa/PlatCocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 28c0f8107..da87a7b13 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1179,6 +1179,7 @@ void Window::SetPosition(PRectangle rc) else { // NSWindow + PLATFORM_ASSERT([idWin isKindOfClass: [NSWindow class]]); NSWindow* win = reinterpret_cast<NSWindow*>(idWin); int screenHeight = ScreenMax(win); NSRect nsrc = NSMakeRect(rc.left, screenHeight - rc.bottom, |