mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-09 18:14:27 +03:00
...
This commit is contained in:
parent
c57f65079f
commit
85280b0304
@ -977,7 +977,7 @@ scroll_event(double xoffset, double yoffset, int flags, int modifiers) {
|
||||
int sz = encode_mouse_scroll(w, s > 0 ? 6 : 7, modifiers);
|
||||
#else
|
||||
int sz = encode_mouse_scroll(w, s < 0 ? 6 : 7, modifiers);
|
||||
#endfi
|
||||
#endif
|
||||
if (sz > 0) {
|
||||
mouse_event_buf[sz] = 0;
|
||||
for (s = abs(s); s > 0; s--) {
|
||||
|
Loading…
Reference in New Issue
Block a user