cursormoved: make global last_cursormoved window-local

Fixes https://github.com/neovim/neovim/issues/9755
This commit is contained in:
Marco Hinz
2019-03-28 20:49:19 +01:00
parent f6fb370b1b
commit 357f95a77e
5 changed files with 6 additions and 7 deletions

View File

@@ -1035,6 +1035,7 @@ struct window_S {
// current virtual column
linenr_T w_last_cursorline; ///< where last 'cursorline' was drawn
pos_T w_last_cursormoved; ///< for CursorMoved event
// the next seven are used to update the visual part
char w_old_visual_mode; ///< last known VIsual_mode