From eadd79acec159a68db797521e361575d0c6ade20 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 4 Sep 2017 09:18:51 +0000 Subject: [PATCH] Move to current mouse position not last when clcking in copy mode; fixes GitHub issue 1055. Also a man page fix from jmc. --- tmux.1 | 2 +- window-copy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.1 b/tmux.1 index 387c1e51..112f5392 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3730,7 +3730,7 @@ A pane's title is typically set by the program running inside the pane using an escape sequence (like it would set the .Xr xterm 1 window title in -.Xr X 7 Ns ). +.Xr X 7 ) . Windows themselves do not have titles - a window's title is the title of its active pane. .Nm diff --git a/window-copy.c b/window-copy.c index 4bd9d127..7ab26262 100644 --- a/window-copy.c +++ b/window-copy.c @@ -2454,7 +2454,7 @@ window_copy_move_mouse(struct mouse_event *m) if (wp == NULL || wp->mode != &window_copy_mode) return; - if (cmd_mouse_at(wp, m, &x, &y, 1) != 0) + if (cmd_mouse_at(wp, m, &x, &y, 0) != 0) return; window_copy_update_cursor(wp, x, y);