From 9a1675b065394734ddaef91a314896028e2b1d46 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Wed, 26 Apr 2017 15:28:10 +0200 Subject: floats: implement floating windows Co-Author: Dongdong Zhou --- src/nvim/normal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/normal.c') diff --git a/src/nvim/normal.c b/src/nvim/normal.c index d857d1a79e..49eef72a05 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2200,6 +2200,7 @@ do_mouse ( * one. Speeds up dragging the status line. */ if (vpeekc() != NUL) { int nc; + int save_mouse_grid = mouse_grid; int save_mouse_row = mouse_row; int save_mouse_col = mouse_col; @@ -2209,6 +2210,7 @@ do_mouse ( if (c == nc) continue; vungetc(nc); + mouse_grid = save_mouse_grid; mouse_row = save_mouse_row; mouse_col = save_mouse_col; } -- cgit