]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1079: GUI late startup leads to uninitialized scrollbars v9.1.1079
authorYee Cheng Chin <ychin.git@gmail.com>
Thu, 6 Feb 2025 20:18:17 +0000 (21:18 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 6 Feb 2025 20:18:17 +0000 (21:18 +0100)
commita5e03f68a87d819896c81ff7cc3c668a2013c680
treeac73e301f148a77b27ebf59ab227685f21a37e18
parentb69cd52447584cedadc1513aa3acd5b4cd9f4340
patch 9.1.1079: GUI late startup leads to uninitialized scrollbars

Problem:  GUI late startup leads to uninitialized scrollbars
Solution: initialize scrollbars for all windows in all tabpages
          (Yee Cheng Chin)

GUI startup was erroneously only initializing scrollbars for all windows
in current tab, instead of all tabs. This breaks if the user has created
tab pages before using `:gui` command to enter GUI mode, or sourced a
session file in vimrc.

closes: #16588
related: macvim-dev/macvim#862

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui.c
src/version.c