mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Cocoa: Fix cursor hover test
This commit is contained in:
committed by
Camilla Löwy
parent
3c3981a4f0
commit
0e74265426
+2
-2
@@ -1312,8 +1312,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);
|
||||
|
||||
} // autoreleasepool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user