From 8de5c4e3b88ab28220257c3b5d35486b387a2984 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 5 Nov 2014 16:27:29 +0100 Subject: [PATCH] Fixed OS X full screen window hiding. --- src/cocoa_window.m | 1 + 1 file changed, 1 insertion(+) 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)