mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Add comment
This commit is contained in:
parent
1d75b205cb
commit
cfb5cb8805
@ -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…
Reference in New Issue
Block a user