mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
input: right mouse click extends the current selection
This commit is contained in:
parent
aa01521ff6
commit
fac4b73107
1 changed files with 4 additions and 0 deletions
4
input.c
4
input.c
|
|
@ -1195,6 +1195,10 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
}
|
||||
}
|
||||
|
||||
else if (button == BTN_RIGHT && wayl->mouse.count == 1) {
|
||||
selection_extend(term, wayl->mouse.col, wayl->mouse.row, serial);
|
||||
}
|
||||
|
||||
else {
|
||||
for (size_t i = 0; i < ALEN(wayl->conf->bindings.mouse); i++) {
|
||||
const struct mouse_binding *binding =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue