summaryrefslogtreecommitdiffstats
path: root/window-copy.c
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 /window-copy.c
parentf4848b437f01e92ee5414f9480f67c1026c36f6f (diff)
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.c2
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);