diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-04-26 15:28:10 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-03-02 16:29:50 +0100 |
commit | 9a1675b065394734ddaef91a314896028e2b1d46 (patch) | |
tree | a8e869da9a89592dd69a806c19dbeacef84f9bf4 /src/nvim/normal.c | |
parent | 018e0d5a19c3f710f41a78bcbb0c6e3e393a5ed8 (diff) | |
download | rneovim-9a1675b065394734ddaef91a314896028e2b1d46.tar.gz rneovim-9a1675b065394734ddaef91a314896028e2b1d46.tar.bz2 rneovim-9a1675b065394734ddaef91a314896028e2b1d46.zip |
floats: implement floating windows
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |