Fix scroll valuator reset when mouse leaves window without focus change

Fixes #9716
This commit is contained in:
copilot-swe-agent[bot]
2026-03-20 02:26:09 +00:00
committed by Kovid Goyal
parent 98bf76ab52
commit ef7b456ce7

1
glfw/x11_window.c vendored
View File

@@ -2206,6 +2206,7 @@ static void processEvent(XEvent *event)
case LeaveNotify:
{
resetScrollValuators();
_glfwInputCursorEnter(window, false);
return;
}