aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/mouse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c
index c599f4ea97..c4fa269851 100644
--- a/src/nvim/mouse.c
+++ b/src/nvim/mouse.c
@@ -228,10 +228,6 @@ retnomove:
redraw_curbuf_later(INVERTED); // delete the inversion
}
-
- row -= curwin->w_winrow;
- col -= curwin->w_wincol;
-
// When clicking beyond the end of the window, scroll the screen.
// Scroll by however many rows outside the window we are.
if (row < 0) {