diff --git a/README.md b/README.md index 763550f9..2d818ac3 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,7 @@ information on what to include when reporting a bug. - [Cocoa] Added support for Vulkan window surface creation via [MoltenVK](https://moltengl.com/moltenvk/) (#870) - [Cocoa] Added support for loading a `MainMenu.nib` when available +- [Cocoa] Disabled automatic window tabbing for created windows (#1250) - [Cocoa] Bugfix: Disabling window aspect ratio would assert (#852) - [Cocoa] Bugfix: Window creation failed to set first responder (#876,#883) - [Cocoa] Bugfix: Removed use of deprecated `CGDisplayIOServicePort` function diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 28c7ef59..156b97b1 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -885,6 +885,9 @@ static GLFWbool createNativeWindow(_GLFWwindow* window, [window->ns.object setDelegate:window->ns.delegate]; [window->ns.object setAcceptsMouseMovedEvents:YES]; [window->ns.object setRestorable:NO]; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 + [window->ns.object setTabbingMode:NSWindowTabbingModeDisallowed]; +#endif _glfwPlatformGetWindowSize(window, &window->ns.width, &window->ns.height); _glfwPlatformGetFramebufferSize(window, &window->ns.fbWidth, &window->ns.fbHeight);