mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0747: cannot forcefully close all popups
Problem: Cannot forcefully close all popups. Solution: Add the "force" argument to popup_clear(). Use it after running a test. Put back the check for a popup when editing a file.
This commit is contained in:
@@ -2766,9 +2766,6 @@ win_free_all(void)
|
||||
(void)win_free_mem(aucmd_win, &dummy, NULL);
|
||||
aucmd_win = NULL;
|
||||
}
|
||||
# ifdef FEAT_PROP_POPUP
|
||||
close_all_popups();
|
||||
# endif
|
||||
|
||||
while (firstwin != NULL)
|
||||
(void)win_free_mem(firstwin, &dummy, NULL);
|
||||
@@ -3801,7 +3798,7 @@ free_tabpage(tabpage_T *tp)
|
||||
# endif
|
||||
# ifdef FEAT_PROP_POPUP
|
||||
while (tp->tp_first_popupwin != NULL)
|
||||
popup_close_tabpage(tp, tp->tp_first_popupwin->w_id);
|
||||
popup_close_tabpage(tp, tp->tp_first_popupwin->w_id, TRUE);
|
||||
#endif
|
||||
for (idx = 0; idx < SNAP_COUNT; ++idx)
|
||||
clear_snapshot(tp, idx);
|
||||
|
Reference in New Issue
Block a user