Cocoa: Upstream fix for mouse hover detection
https://github.com/glfw/glfw/commit/0e74265426591a9b1e61deef224f920e3b54fd01
This commit is contained in:
+2
-2
@@ -1689,8 +1689,8 @@ int _glfwPlatformWindowHovered(_GLFWwindow* window)
|
||||
return GLFW_FALSE;
|
||||
}
|
||||
|
||||
return NSPointInRect(point,
|
||||
[window->ns.object convertRectToScreen:[window->ns.view bounds]]);
|
||||
return NSMouseInRect(point,
|
||||
[window->ns.object convertRectToScreen:[window->ns.view frame]], NO);
|
||||
}
|
||||
|
||||
int _glfwPlatformFramebufferTransparent(_GLFWwindow* window)
|
||||
|
||||
Reference in New Issue
Block a user