changeset 26315:39f841f187d5 v8.2.3688

patch 8.2.3688: the window title is not updated when dragging the scrollbar Commit: https://github.com/vim/vim/commit/2e0f3ecb7046e6d7915327270f836c48ad033a67 Author: Christian Brabandt <cb@256bit.org> Date: Sun Nov 28 18:41:05 2021 +0000 patch 8.2.3688: the window title is not updated when dragging the scrollbar Problem: The window title is not updated when dragging the scrollbar. Solution: Call maketitle(). (Christian Brabandt, closes https://github.com/vim/vim/issues/9238, closes https://github.com/vim/vim/issues/5383)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Nov 2021 19:45:03 +0100
parents 3b8095ac79d8
children c60f51a7a0d3
files src/gui.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -4412,6 +4412,10 @@ gui_update_scrollbars(
 					    val, size, max);
 	}
     }
+
+    // update the title, it may show the scroll position
+    maketitle();
+
     prev_curwin = curwin;
     --hold_gui_events;
 }
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3688,
+/**/
     3687,
 /**/
     3686,