Fix scroll valuator reset when mouse leaves window without focus change
Fixes #9716
This commit is contained in:
parent
98bf76ab52
commit
ef7b456ce7
1 changed files with 1 additions and 0 deletions
1
glfw/x11_window.c
vendored
1
glfw/x11_window.c
vendored
|
|
@ -2206,6 +2206,7 @@ static void processEvent(XEvent *event)
|
|||
|
||||
case LeaveNotify:
|
||||
{
|
||||
resetScrollValuators();
|
||||
_glfwInputCursorEnter(window, false);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue