From upstream: d5ab3e919a
This commit is contained in:
Kovid Goyal
2019-02-03 20:04:54 +05:30
parent 22ed014123
commit cb7eb48768
6 changed files with 58 additions and 58 deletions

4
glfw/window.c vendored
View File

@@ -89,7 +89,7 @@ _GLFWwindow* _glfwWindowForId(GLFWid id) {
}
// Notifies shared code that a window has moved
// The position is specified in client-area relative screen coordinates
// The position is specified in content area relative screen coordinates
//
void _glfwInputWindowPos(_GLFWwindow* window, int x, int y)
{
@@ -254,7 +254,7 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height,
if (window->monitor)
{
if (wndconfig.centerCursor)
_glfwCenterCursor(window);
_glfwCenterCursorInContentArea(window);
}
else
{