Cocoa: Fix cursor hover test

master
Camilla Löwy ago%!(EXTRA string=6 years) committed by Camilla Löwy
parent 3c3981a4f0
commit 0e74265426
  1. 4
      src/cocoa_window.m

@ -1312,8 +1312,8 @@ int _glfwPlatformWindowHovered(_GLFWwindow* window)
return GLFW_FALSE; return GLFW_FALSE;
} }
return NSPointInRect(point, return NSMouseInRect(point,
[window->ns.object convertRectToScreen:[window->ns.view bounds]]); [window->ns.object convertRectToScreen:[window->ns.view frame]], NO);
} // autoreleasepool } // autoreleasepool
} }

Loading…
Cancel
Save