mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-06 08:01:58 +02:00
Fix scroll valuator reset when mouse leaves window without focus change
Fixes #9716
This commit is contained in:
committed by
Kovid Goyal
parent
98bf76ab52
commit
ef7b456ce7
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user