aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2017-09-04 09:18:51 +0000
committernicm <nicm>2017-09-04 09:18:51 +0000
commiteadd79acec159a68db797521e361575d0c6ade20 (patch)
treede1761f27f29eef6e60291760fe6d88b795c8c5d
parentf4848b437f01e92ee5414f9480f67c1026c36f6f (diff)
downloadrtmux-eadd79acec159a68db797521e361575d0c6ade20.tar.gz
rtmux-eadd79acec159a68db797521e361575d0c6ade20.tar.bz2
rtmux-eadd79acec159a68db797521e361575d0c6ade20.zip
Move to current mouse position not last when clcking in copy mode; fixes
GitHub issue 1055. Also a man page fix from jmc.
-rw-r--r--tmux.12
-rw-r--r--window-copy.c2
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);