diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 4fd5de49..167cb98f 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -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