diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-13 23:59:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-13 23:59:52 +0200 |
commit | b53fb31a1e27a806396e38592055cfb3ebf43cf9 (patch) | |
tree | 57888f517cf09fe3680bdcf9803fe75d929be3fd /src/proto | |
parent | b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1 (diff) | |
download | vim-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/proto')
-rw-r--r-- | src/proto/popupwin.pro | 3 | ||||
-rw-r--r-- | src/proto/window.pro | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index 03d3729ed..eeabafa9a 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -1,4 +1,7 @@ /* popupwin.c */ +int popup_on_border(win_T *wp, int row, int col); +void popup_start_drag(win_T *wp); +void popup_drag(win_T *wp); int popup_height(win_T *wp); int popup_width(win_T *wp); void popup_adjust_position(win_T *wp); diff --git a/src/proto/window.pro b/src/proto/window.pro index 1424c3de5..94b9f083a 100644 --- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -3,6 +3,7 @@ void do_window(int nchar, long Prenum, int xchar); void get_wincmd_addr_type(char_u *arg, exarg_T *eap); int win_split(int size, int flags); int win_split_ins(int size, int flags, win_T *new_wp, int dir); +int win_valid_popup(win_T *win); int win_valid(win_T *win); int win_valid_any_tab(win_T *win); int win_count(void); |