diff options
author | nicm <nicm> | 2017-09-04 09:18:51 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-09-04 09:18:51 +0000 |
commit | eadd79acec159a68db797521e361575d0c6ade20 (patch) | |
tree | de1761f27f29eef6e60291760fe6d88b795c8c5d | |
parent | f4848b437f01e92ee5414f9480f67c1026c36f6f (diff) | |
download | rtmux-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.1 | 2 | ||||
-rw-r--r-- | window-copy.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); |