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 /window-copy.c | |
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.
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |