diff src/gui.c @ 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 92bad8cd95d5
children a74dd2014b04
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;
 }