diff --git a/src/cocoa_window.m b/src/cocoa_window.m index b9221e93..1f5bec4a 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -984,6 +984,7 @@ static GLboolean createWindow(_GLFWwindow* window, [window->ns.object setContentView:window->ns.view]; [window->ns.object setDelegate:window->ns.delegate]; [window->ns.object setAcceptsMouseMovedEvents:YES]; + [window->ns.object setHidesOnDeactivate:YES]; #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6)