summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-06-16 14:01:43 +0000
committerBram Moolenaar <Bram@vim.org>2009-06-16 14:01:43 +0000
commit746ebd3b6a2ad53dc0caf0872e7895d0cab966e1 (patch)
tree7eb48e9b5ebdd7e17e79db2418bca9ddde158b0e /src/gui.c
parent8b38e2416c1c56e38fa85ad048a4e1a3df851a43 (diff)
downloadvim-git-746ebd3b6a2ad53dc0caf0872e7895d0cab966e1.tar.gz
updated for version 7.2-203v7.2.203
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 9c6e29c14..c8ea70e0f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3879,6 +3879,21 @@ gui_drag_scrollbar(sb, value, still_dragging)
* Scrollbar stuff:
*/
+/*
+ * Called when something in the window layout has changed.
+ */
+ void
+gui_may_update_scrollbars()
+{
+ if (gui.in_use && starting == 0)
+ {
+ out_flush();
+ gui_init_which_components(NULL);
+ gui_update_scrollbars(TRUE);
+ }
+ need_mouse_correct = TRUE;
+}
+
void
gui_update_scrollbars(force)
int force; /* Force all scrollbars to get updated */