mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
mouse: use discrete axis event if available
This improves the scroll experience with certain devices
This commit is contained in:
parent
bb3e33948f
commit
e88cf4c8c8
3 changed files with 39 additions and 25 deletions
|
|
@ -288,6 +288,9 @@ struct terminal {
|
|||
|
||||
int last_button;
|
||||
struct timeval last_time;
|
||||
|
||||
/* We used a discrete axis event in the current pointer frame */
|
||||
bool have_discrete;
|
||||
} mouse;
|
||||
|
||||
struct coord cursor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue