summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-13 23:59:52 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-13 23:59:52 +0200
commitb53fb31a1e27a806396e38592055cfb3ebf43cf9 (patch)
tree57888f517cf09fe3680bdcf9803fe75d929be3fd /src/window.c
parentb0f94c1ff34d27d33aa9f96204985ea29c2eb0a1 (diff)
downloadvim-git-b53fb31a1e27a806396e38592055cfb3ebf43cf9.tar.gz
patch 8.1.1525: cannot move a popup window with the mousev8.1.1525
Problem: Cannot move a popup window with the mouse. Solution: Add the "drag" property and make it possible to drag a popup window by its border.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index c15a86111..436912934 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1371,7 +1371,7 @@ win_init_some(win_T *newp, win_T *oldp)
/*
* Return TRUE if "win" is a global popup or a popup in the current tab page.
*/
- static int
+ int
win_valid_popup(win_T *win UNUSED)
{
#ifdef FEAT_TEXT_PROP