From 4097257beffc100d1eb0948d1390cea952e5fe4a Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 3 May 2019 18:42:40 +0000 Subject: Do not store the mouse position we calculate as the start of a drag back into the mouse event that later code uses, it has been adjusted and they should use the original position. GitHub issue 1710. --- window-copy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'window-copy.c') diff --git a/window-copy.c b/window-copy.c index f8569d79..4ff6b9dd 100644 --- a/window-copy.c +++ b/window-copy.c @@ -3505,6 +3505,8 @@ window_copy_start_drag(struct client *c, struct mouse_event *m) window_copy_update_cursor(wme, x, y); window_copy_start_selection(wme); window_copy_redraw_screen(wme); + + window_copy_drag_update(c, m); } static void -- cgit