summaryrefslogtreecommitdiffstats
path: root/src/proto/popupwin.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-30 18:07:00 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-30 18:07:00 +0200
commit2e62b568e91c36adb16dbcc609665170f09f3845 (patch)
treefef2344429e26ba99e52315b28fc979477e23d7b /src/proto/popupwin.pro
parentb60d8514b8813e2f3acefd454efcccbe04ac135a (diff)
patch 8.1.1609: the user cannot easily close a popup windowv8.1.1609
Problem: The user cannot easily close a popup window. Solution: Add the "close" property. (mostly by Masato Nishihata, closes #4601)
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r--src/proto/popupwin.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro
index 7ac8612cd7..a251f9ad56 100644
--- a/src/proto/popupwin.pro
+++ b/src/proto/popupwin.pro
@@ -1,5 +1,6 @@
/* popupwin.c */
int popup_on_border(win_T *wp, int row, int col);
+int popup_on_X_button(win_T *wp, int row, int col);
void popup_start_drag(win_T *wp);
void popup_drag(win_T *wp);
void popup_set_firstline(win_T *wp);
@@ -10,6 +11,7 @@ void popup_adjust_position(win_T *wp);
void f_popup_clear(typval_T *argvars, typval_T *rettv);
void f_popup_create(typval_T *argvars, typval_T *rettv);
void f_popup_atcursor(typval_T *argvars, typval_T *rettv);
+void popup_close_for_mouse_click(win_T *wp);
void f_popup_filter_menu(typval_T *argvars, typval_T *rettv);
void f_popup_filter_yesno(typval_T *argvars, typval_T *rettv);
void f_popup_dialog(typval_T *argvars, typval_T *rettv);