Add comment

This commit is contained in:
Camilla Löwy 2018-02-05 17:56:37 +01:00
parent 1d75b205cb
commit cfb5cb8805

View File

@ -1416,6 +1416,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
const NSUInteger styleMask = getStyleMask(window);
[window->ns.object setStyleMask:styleMask];
// HACK: Changing the style mask can cause the first responder to be cleared
[window->ns.object makeFirstResponder:window->ns.view];
if (monitor)