mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Move full screen cursor centering to shared code
This commit is contained in:
@@ -1975,9 +1975,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
||||
_glfwPlatformShowWindow(window);
|
||||
updateWindowMode(window);
|
||||
acquireMonitor(window);
|
||||
|
||||
if (wndconfig->centerCursor)
|
||||
centerCursor(window);
|
||||
}
|
||||
|
||||
XFlush(_glfw.x11.display);
|
||||
|
||||
Reference in New Issue
Block a user