]> granicus.if.org Git - vim/commit
patch 8.2.1966: popup becomes current window after closing a terminal window v8.2.1966
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Nov 2020 15:58:59 +0000 (16:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Nov 2020 15:58:59 +0000 (16:58 +0100)
commitcbcd9cbd77acc8cc97c0d44683d96c01d3dd0fa7
tree0327591c6c155fec6e557463815968f90bab3e0a
parent46f479c756c0255e3b6d473590c1857678eff5c6
patch 8.2.1966: popup becomes current window after closing a terminal window

Problem:    Popup becomes current window after closing a terminal window.
Solution:   When restoring the window after executing autocommands, check that
            the window ID is still the same.  (Naruhiko Nishino,
            closes #7272)
src/autocmd.c
src/proto/window.pro
src/structs.h
src/testdir/test_popupwin.vim
src/version.c
src/window.c