diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-04 20:35:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-04 20:35:38 +0000 |
| commit | 040a1cd00df4e070174aa5f747ed73cc76fcfb14 (patch) | |
| tree | e752b2d0671643acf84eda6d25ac791f6e10fed0 | |
| parent | wayland: wl_display_flush() never blocks (diff) | |
input: scroll: call term_mouse_up() once, after all term_mouse_down()
Note that scroll button release events are not actually sent to the
client, but this makes the code more correct, logically.
| -rw-r--r-- | input.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -657,6 +657,7 @@ mouse_scroll(struct wayland *wayl, int amount) } else { for (int i = 0; i < amount; i++) term_mouse_down(term, button, wayl->mouse.row, wayl->mouse.col); + term_mouse_up(term, button, wayl->mouse.row, wayl->mouse.col); scrollback(term, amount); } |
