aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-11 15:34:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-11 15:38:03 +0000
commit66e067082b76530abad2ffe8e548d4d5c81a7f63 (patch)
tree85c68358951ba32df899257567f515feca4ebeb6 /input.c
parentselection: add support for pasting *from* primary (diff)
selection: implement copy *to* primary
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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,