diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-13 13:40:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-13 13:40:16 +0200 |
commit | 03a9f848175b182372fb33403998059724a8bf31 (patch) | |
tree | 473f2bb5d40cffb5821443a2956a6c700c1fff44 /src/proto/popupwin.pro | |
parent | d502aa4c10771ec8eb570345ec5e124c4a4b7cd0 (diff) |
patch 8.2.0747: cannot forcefully close all popupsv8.2.0747
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.
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r-- | src/proto/popupwin.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index 0147e68052..4fa3013f45 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -34,9 +34,9 @@ void popup_show(win_T *wp); void f_popup_show(typval_T *argvars, typval_T *rettv); void f_popup_settext(typval_T *argvars, typval_T *rettv); int error_if_popup_window(int also_with_term); -int popup_close(int id); -int popup_close_tabpage(tabpage_T *tp, int id); -void close_all_popups(void); +int popup_close(int id, int force); +int popup_close_tabpage(tabpage_T *tp, int id, int force); +void close_all_popups(int force); void f_popup_move(typval_T *argvars, typval_T *rettv); void f_popup_setoptions(typval_T *argvars, typval_T *rettv); void f_popup_getpos(typval_T *argvars, typval_T *rettv); |