From aa6753383da96160134eed58fc5c1ef8a67c391f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 22 May 2016 13:17:55 +0300 Subject: [PATCH] Fixed fullscreen mode on non-default monitor in OS X backend Fullscreen window was incorrectly placed on the main screen instead of the current one Honestly I have no idea what was the reason behind that [NSWindow setFrameOrigin:] call Apparently it's redundant and moreover it's incorrect for multi-monitor configuration --- src/posix/cocoa/i_video.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/posix/cocoa/i_video.mm b/src/posix/cocoa/i_video.mm index 89b3714d1..5e073daf3 100644 --- a/src/posix/cocoa/i_video.mm +++ b/src/posix/cocoa/i_video.mm @@ -665,7 +665,6 @@ void CocoaVideo::SetFullscreenMode(const int width, const int height) } [m_window setFrame:screenFrame display:YES]; - [m_window setFrameOrigin:NSMakePoint(0.0f, 0.0f)]; } void CocoaVideo::SetWindowedMode(const int width, const int height)