[rcore_desktop_glfw.c] Do not reset mouse position user when user is off window (#6134)

See this comment and Jeffs as to why
https://github.com/raysan5/raylib/issues/5945#issuecomment-5595141064
This commit is contained in:
jestarray
2026-09-11 07:18:19 -07:00
committed by GitHub
parent 73dce3635c
commit 3a7aa76509

View File

@@ -2207,7 +2207,6 @@ static void CursorEnterCallback(GLFWwindow *window, int entered)
else
{
CORE.Input.Mouse.cursorOnScreen = false;
CORE.Input.Mouse.currentPosition = (Vector2){ 0 };
}
}