diff --git a/src/cocoa_window.m b/src/cocoa_window.m index b1b324d7..c7648f3e 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