summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2021-11-28 18:41:05 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-28 18:41:05 +0000
commit2e0f3ecb7046e6d7915327270f836c48ad033a67 (patch)
tree1f86cc8fed54594eed7950e1c7b2aa6350a52a11 /src/gui.c
parent59f4f9505ae7ca2499904b94100db103e5ada5a6 (diff)
patch 8.2.3688: the window title is not updated when dragging the scrollbarv8.2.3688
Problem: The window title is not updated when dragging the scrollbar. Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 13f1fe4fa3..17f4e9506c 100644
--- 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;
}