mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 06:54:58 +02:00
When kitty loses focus and the user scrolls in another application, X11 XI scroll valuators accumulate position values. When the user returns to kitty and scrolls, delta (value - v->value) uses the stale pre-focus-loss value, causing a massive unexpected scroll jump. Fix: reset scroll valuators (mark them uninitialized) on FocusOut so the first scroll event after focus is regained sets the baseline without firing a scroll event. Fixes #9703 Fixes #9707
21 KiB
Vendored
21 KiB
Vendored