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
This commit is contained in:
alexey.lysiuk 2016-05-22 13:17:55 +03:00
parent ae31e0ba72
commit aa6753383d

View file

@ -665,7 +665,6 @@ void CocoaVideo::SetFullscreenMode(const int width, const int height)
} }
[m_window setFrame:screenFrame display:YES]; [m_window setFrame:screenFrame display:YES];
[m_window setFrameOrigin:NSMakePoint(0.0f, 0.0f)];
} }
void CocoaVideo::SetWindowedMode(const int width, const int height) void CocoaVideo::SetWindowedMode(const int width, const int height)