Cocoa: Disable automatic tabbing for GLFW windows

Related to #1250.
This commit is contained in:
Camilla Löwy
2019-01-18 00:41:47 +01:00
parent 78e6a0063d
commit 530b37f4db
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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);