mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
input: don’t do grid scrollback if mouse events are being captured
This commit is contained in:
parent
0bba1edb9c
commit
6ad90e6323
1 changed files with 2 additions and 3 deletions
5
input.c
5
input.c
|
|
@ -1660,9 +1660,8 @@ mouse_scroll(struct seat *seat, int amount)
|
|||
term_mouse_up(
|
||||
term, button, seat->mouse.row, seat->mouse.col,
|
||||
seat->kbd.shift, seat->kbd.alt, seat->kbd.ctrl);
|
||||
}
|
||||
|
||||
scrollback(term, amount);
|
||||
} else
|
||||
scrollback(term, amount);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue