mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-06 01:40:22 -05:00
selection: implement copy *to* primary
This commit is contained in:
parent
703aeecb95
commit
66e067082b
3 changed files with 91 additions and 8 deletions
2
input.c
2
input.c
|
|
@ -369,7 +369,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
if (button == BTN_LEFT && term->selection.end.col == -1)
|
||||
selection_cancel(term);
|
||||
else
|
||||
selection_finalize(term);
|
||||
selection_finalize(term, serial);
|
||||
|
||||
term->mouse.button = 0; /* For motion events */
|
||||
term_mouse_up(term, button, term->mouse.row, term->mouse.col,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue