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);
NSDictionary *opts = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:NO], NSFullScreenModeAllScreens,
nil];
[window->ns.view enterFullScreenMode:window->monitor->ns.screen
withOptions:nil];
withOptions:opts];
}
// Leave fullscreen mode