summaryrefslogtreecommitdiffstats
path: root/src/move.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-14 18:52:49 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-14 18:52:49 +0200
commit05aacec6ab5c7ed8a13bbdca2f0005d6a1816230 (patch)
treebcd397910eeac7718df272cd5425788bcf16626e /src/move.c
parent3d93630605df60e8de5a38918eaff62165b42382 (diff)
patch 9.1.0320: Wrong cursor position after using setcellwidths()v9.1.0320
Problem: Wrong cursor position after using setcellwidths(). Solution: Invalidate cursor position in addition to redrawing. (zeertzjq) closes: #14545 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c
index 20c575c66a..a234fca1d2 100644
--- a/src/move.c
+++ b/src/move.c
@@ -678,6 +678,19 @@ changed_window_setting_buf(buf_T *buf)
#endif
/*
+ * Call changed_window_setting_win() for every window.
+ */
+ void
+changed_window_setting_all(void)
+{
+ tabpage_T *tp;
+ win_T *wp;
+
+ FOR_ALL_TAB_WINDOWS(tp, wp)
+ changed_window_setting_win(wp);
+}
+
+/*
* Set wp->w_topline to a certain number.
*/
void