mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
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…
Add table
Add a link
Reference in a new issue