]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set v9.1.0034
authorChristian Brabandt <cb@256bit.org>
Tue, 16 Jan 2024 16:22:38 +0000 (17:22 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Jan 2024 16:22:38 +0000 (17:22 +0100)
commitac4cffc6d9d307778d8a2945adab70244470bbb8
tree391cdcd7b31b65dc5b66d7a9c76fcba454f63112
parent96958366ad6159efe708b694055320ed19357e61
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set

Problem:  Window may unexpectedly scroll when 'scrollbind' is set
          and setting a buffer-local option using setbufvar()
          (Boris Staletic)
Solution: Save and restore the windows topline before opening the
          popup window.

fixes: #13863
closes: #13869

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/evalvars.c
src/testdir/test_popupwin.vim
src/version.c