diff --git a/glfw/x11_window.c b/glfw/x11_window.c index b83a891ac..05c8ea094 100644 --- a/glfw/x11_window.c +++ b/glfw/x11_window.c @@ -2206,6 +2206,7 @@ static void processEvent(XEvent *event) case LeaveNotify: { + resetScrollValuators(); _glfwInputCursorEnter(window, false); return; }