mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
parent
1fca33b3c1
commit
cad22cb2f6
@ -857,8 +857,10 @@ 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];
|
||||
if ([window->ns.object respondsToSelector:@selector(setTabbingMode:)])
|
||||
[window->ns.object setTabbingMode:NSWindowTabbingModeDisallowed];
|
||||
#endif
|
||||
|
||||
_glfwPlatformGetWindowSize(window, &window->ns.width, &window->ns.height);
|
||||
|
Loading…
Reference in New Issue
Block a user