summaryrefslogtreecommitdiffstats
path: root/src/proto/popupwin.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-13 01:04:32 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-13 01:04:32 +0200
commitd502aa4c10771ec8eb570345ec5e124c4a4b7cd0 (patch)
tree130bc8dd333f4c229a120328999adc47c33c964c /src/proto/popupwin.pro
parent06f0853cb0b10364b22e5607fdecd35b3936e9ea (diff)
patch 8.2.0746: popup_clear() hangs when a popup can't be closedv8.2.0746
Problem: popup_clear() hangs when a popup can't be closed. Solution: Bail out when a popup can't be closed.
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r--src/proto/popupwin.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro
index 96b21b643e..0147e68052 100644
--- a/src/proto/popupwin.pro
+++ b/src/proto/popupwin.pro
@@ -34,8 +34,8 @@ 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);
-void popup_close(int id);
-void popup_close_tabpage(tabpage_T *tp, int id);
+int popup_close(int id);
+int popup_close_tabpage(tabpage_T *tp, int id);
void close_all_popups(void);
void f_popup_move(typval_T *argvars, typval_T *rettv);
void f_popup_setoptions(typval_T *argvars, typval_T *rettv);