mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0142: possible to enter popup window with CTRL-W p
Problem: Possible to enter popup window with CTRL-W p. (John Devin) Solution: Check entered window is not a popup window. (closes #5515)
This commit is contained in:
@@ -2484,6 +2484,8 @@ popup_close_tabpage(tabpage_T *tp, int id)
|
||||
void
|
||||
close_all_popups(void)
|
||||
{
|
||||
if (ERROR_IF_POPUP_WINDOW)
|
||||
return;
|
||||
while (first_popupwin != NULL)
|
||||
popup_close(first_popupwin->w_id);
|
||||
while (curtab->tp_first_popupwin != NULL)
|
||||
|
Reference in New Issue
Block a user