Fixed window positioning on OS X.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 0b5de6dd28
commit c4d856bcb2
  1. 2
      src/cocoa_window.m

@ -863,7 +863,7 @@ void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos)
if (xpos)
*xpos = contentRect.origin.x;
if (ypos)
*ypos = contentRect.origin.y;
*ypos = transformY(contentRect.origin.y + contentRect.size.height);
}
void _glfwPlatformSetWindowPos(_GLFWwindow* window, int x, int y)

Loading…
Cancel
Save