]> granicus.if.org Git - vim/commitdiff
patch 8.2.3688: the window title is not updated when dragging the scrollbar v8.2.3688
authorChristian Brabandt <cb@256bit.org>
Sun, 28 Nov 2021 18:41:05 +0000 (18:41 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Nov 2021 18:41:05 +0000 (18:41 +0000)
Problem:    The window title is not updated when dragging the scrollbar.
Solution:   Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)

src/gui.c
src/version.c

index 13f1fe4fa3862d3dc8e95f11598a637cdb680d8c..17f4e9506c075c77a5d95d778a6d082307171365 100644 (file)
--- 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;
 }
index 8972dbd36f12481217f4b8b6c86f71399115372e..f43b33c8f8c78810f2b15393a4ff684206769651 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3688,
 /**/
     3687,
 /**/