diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-26 16:47:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-26 16:48:59 +0000 |
| commit | e88cf4c8c88c63eef66fcc8bc00e27903562a49d (patch) | |
| tree | e1e4c404e08241aeb46516c48b542eee80127b33 /terminal.h | |
| parent | render: add render_row() (diff) | |
mouse: use discrete axis event if available
This improves the scroll experience with certain devices
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 3 insertions, 0 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; |
