mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: don’t do alternate mode scrolling if application is grabbing mouse
This commit is contained in:
parent
6ad90e6323
commit
028bbd03a3
1 changed files with 2 additions and 1 deletions
3
input.c
3
input.c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue