summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2023-08-20 20:44:59 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-20 20:44:59 +0200
commit16af913eeefb288ce968fb87e09a597413861900 (patch)
tree4184b8e4c195d1f2f79ae48320fc68583e3c13ab /src/structs.h
parent478668013f060a75b8cd8cc6ca2cf2abb3bcc4a5 (diff)
patch 9.0.1772: Cursor may be adjusted in 'splitkeep'ed windowsv9.0.1772
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>
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index eefc8f2186..eb8d30b23e 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -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