diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-06-16 14:01:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-06-16 14:01:43 +0000 |
commit | 746ebd3b6a2ad53dc0caf0872e7895d0cab966e1 (patch) | |
tree | 7eb48e9b5ebdd7e17e79db2418bca9ddde158b0e /src/gui.c | |
parent | 8b38e2416c1c56e38fa85ad048a4e1a3df851a43 (diff) | |
download | vim-git-746ebd3b6a2ad53dc0caf0872e7895d0cab966e1.tar.gz |
updated for version 7.2-203v7.2.203
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 */ |