From 66e067082b76530abad2ffe8e548d4d5c81a7f63 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 11 Jul 2019 17:34:52 +0200 Subject: selection: implement copy *to* primary --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index db348887..6e0d907d 100644 --- a/input.c +++ b/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, -- cgit v1.3