mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04: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_mouse_up(
|
||||||
term, button, seat->mouse.row, seat->mouse.col,
|
term, button, seat->mouse.row, seat->mouse.col,
|
||||||
seat->kbd.shift, seat->kbd.alt, seat->kbd.ctrl);
|
seat->kbd.shift, seat->kbd.alt, seat->kbd.ctrl);
|
||||||
}
|
} else
|
||||||
|
scrollback(term, amount);
|
||||||
scrollback(term, amount);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue