mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1772: Cursor may be adjusted in 'splitkeep'ed windows
Problem: Cursor is adjusted in window that did not change in size by 'splitkeep'. Solution: Only check that cursor position is valid in a window that has changed in size. closes: #12509 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
This commit is contained in:
committed by
Christian Brabandt
parent
478668013f
commit
16af913eee
@@ -3778,6 +3778,7 @@ struct window_S
|
||||
int w_vsep_width; // Number of separator columns (0 or 1).
|
||||
|
||||
pos_save_T w_save_cursor; // backup of cursor pos and topline
|
||||
int w_do_win_fix_cursor;// if TRUE cursor may be invalid
|
||||
|
||||
#ifdef FEAT_PROP_POPUP
|
||||
int w_popup_flags; // POPF_ values
|
||||
|
Reference in New Issue
Block a user