Add a patch from upstream, altered to not change behavior

This commit is contained in:
Kovid Goyal
2018-12-26 09:58:12 +05:30
parent 6057296499
commit 246972b59f

View File

@@ -626,6 +626,11 @@ static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL;
updateCursorImage(window);
}
- (BOOL)acceptsFirstMouse:(NSEvent *)event
{
return NO; // changed by Kovid, to follow cocoa platform conventions
}
- (void)mouseDown:(NSEvent *)event
{
_glfwInputMouseClick(window,