1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Merge pull request #139 from Pieroman/patch-1

Fixed full screen windows blanking unused monitors.
This commit is contained in:
Camilla Berglund 2013-10-09 14:47:41 -07:00
commit 1047d5646d

View File

@ -58,8 +58,12 @@ static void enterFullscreenMode(_GLFWwindow* window)
_glfwSetVideoMode(window->monitor, &window->videoMode); _glfwSetVideoMode(window->monitor, &window->videoMode);
NSDictionary *opts = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:NO], NSFullScreenModeAllScreens,
nil];
[window->ns.view enterFullScreenMode:window->monitor->ns.screen [window->ns.view enterFullScreenMode:window->monitor->ns.screen
withOptions:nil]; withOptions:opts];
} }
// Leave fullscreen mode // Leave fullscreen mode