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
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

1
glfw/x11_window.c vendored
View file

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