Remove _glfwInputWindowMonitor from cocoa_window.m

This commit is contained in:
A. Tombs 2019-05-28 01:30:14 +01:00 committed by GitHub
parent a996a26d00
commit 1c6b60e9c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1213,7 +1213,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
if (window->monitor)
releaseMonitor(window);
_glfwInputWindowMonitor(window, monitor);
window->monitor = monitor;
// HACK: Allow the state cached in Cocoa to catch up to reality
// TODO: Solve this in a less terrible way