diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-15 16:40:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-15 16:40:51 +0000 |
| commit | 028bbd03a3284d60db802631a71ebb1626befa68 (patch) | |
| tree | 519820e8309d6879590a7e74563e0870adda3f5d /input.c | |
| parent | input: don’t do grid scrollback if mouse events are being captured (diff) | |
input: don’t do alternate mode scrolling if application is grabbing mouse
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1624,7 +1624,8 @@ mouse_scroll(struct seat *seat, int amount) amount = abs(amount); if ((button == BTN_BACK || button == BTN_FORWARD) && - term->grid == &term->alt && term->alt_scrolling) + term->grid == &term->alt && term->alt_scrolling && + term->mouse_tracking == MOUSE_NONE) { /* * alternateScroll/faux scrolling - translate mouse |
