Add comment

master
Camilla Löwy ago%!(EXTRA string=7 years)
parent 1d75b205cb
commit cfb5cb8805
  1. 1
      src/cocoa_window.m

@ -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)

Loading…
Cancel
Save