mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 20:05:38 +00:00
Problem: WinEnter autocommand may confuse Vim when closing tabpage
(hokorobi)
Solution: Verify that curwin did not change in close_others()
fixes: vim/vim#18722
closes: vim/vim#18733
61b73b89a3
Co-authored-by: Christian Brabandt <cb@256bit.org>