Do not move the cursor when the mouse wheel is used, GitHub issue 1493.

This commit is contained in:
nicm
2018-10-03 15:27:55 +00:00
parent 228e1a3951
commit f7c85f3ed8
2 changed files with 2 additions and 2 deletions

View File

@ -529,7 +529,7 @@ window_copy_command(struct window_pane *wp, struct client *c, struct session *s,
return;
command = args->argv[0];
if (m != NULL && m->valid)
if (m != NULL && m->valid && !MOUSE_WHEEL(m->b))
window_copy_move_mouse(m);
if (args->argc == 1) {