input: don’t do grid scrollback if mouse events are being captured

This commit is contained in:
Daniel Eklöf 2020-09-15 18:33:58 +02:00
parent 0bba1edb9c
commit 6ad90e6323
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}
}