diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-03 18:42:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-03 18:42:41 +0000 |
commit | d2a3ab563d59b2a0b4fc564796713e75c18978ba (patch) | |
tree | 43ea88295072a492a94daa6bf8d499db11dbde0f /usr.bin/tmux/window-copy.c | |
parent | d3a0c2eaa30d949fab29bbddd4bfed4c48ce9a84 (diff) |
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.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r-- | usr.bin/tmux/window-copy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 661d69fbfd2..660aa77a2ed 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.219 2019/05/01 06:07:14 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.220 2019/05/03 18:42:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 |