This commit is contained in:
Camilla Löwy
2017-01-10 15:46:00 +01:00
parent 48a795c101
commit 221451b817
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -147,7 +147,7 @@ static GLFWbool acquireMonitor(_GLFWwindow* window)
[window->ns.object setFrame:frame display:YES];
_glfwInputMonitorWindowChange(window->monitor, window);
_glfwInputMonitorWindow(window->monitor, window);
return status;
}
@@ -158,7 +158,7 @@ static void releaseMonitor(_GLFWwindow* window)
if (window->monitor->window != window)
return;
_glfwInputMonitorWindowChange(window->monitor, NULL);
_glfwInputMonitorWindow(window->monitor, NULL);
_glfwRestoreVideoModeNS(window->monitor);
}