Mercurial > vim
diff src/proto/ui.pro @ 17041:5ed4965ebc7b v8.1.1520
patch 8.1.1520: popup windows are ignored when dealing with mouse position
commit https://github.com/vim/vim/commit/451d4b5b7c7262631cd1f5057c75d6f5f5772fb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 12 20:22:27 2019 +0200
patch 8.1.1520: popup windows are ignored when dealing with mouse position
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Jun 2019 20:30:07 +0200 |
parents | c1698187c482 |
children | 3147c7c2e86b |
line wrap: on
line diff
--- a/src/proto/ui.pro +++ b/src/proto/ui.pro @@ -65,7 +65,7 @@ int clip_x11_owner_exists(VimClipboard * void yank_cut_buffer0(Display *dpy, VimClipboard *cbd); int jump_to_mouse(int flags, int *inclusive, int which_button); int mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump); -win_T *mouse_find_win(int *rowp, int *colp); +win_T *mouse_find_win(int *rowp, int *colp, mouse_find_T popup); int get_fpos_of_mouse(pos_T *mpos); int vcol2col(win_T *wp, linenr_T lnum, int vcol); void ui_focus_change(int in_focus);