summaryrefslogtreecommitdiffstats
path: root/src/proto/popupwin.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-24 19:36:00 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-24 19:36:00 +0200
commitf63962378dc32c7253e4825b4b0f414a81c1dd3e (patch)
tree46ec1a7ae20b1e6d2b5e3ecf3a4c241b9791639c /src/proto/popupwin.pro
parent4645104be4c521dfdd43621c19e96bda3cac7be2 (diff)
patch 8.1.1920: cannot always close a popup when filter consumes all eventsv8.1.1920
Problem: Cannot close a popup by the X when a filter consumes all events. Solution: Check for a click on the close button before invoking filters. (closes #4858)
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r--src/proto/popupwin.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro
index 0507114224..dab117e744 100644
--- a/src/proto/popupwin.pro
+++ b/src/proto/popupwin.pro
@@ -1,6 +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);
+int popup_close_if_on_X(win_T *wp, int row, int col);
void popup_start_drag(win_T *wp, int row, int col);
void popup_drag(win_T *wp);
void popup_set_firstline(win_T *wp);