diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-11 21:45:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-11 21:45:05 +0100 |
commit | d002e411c60a231b7c136a84422b3d9bf7b8b4df (patch) | |
tree | b5213a74e07f8b0d2ea32617f7870fa769c243f3 /runtime/doc | |
parent | adf4aa200b026dce91dd169143ee8b93e848ec8b (diff) |
patch 8.1.2292: v:mouse_winid not set on click in popup windowv8.1.2292
Problem: v:mouse_winid not set on click in popup window.
Solution: Set v:mouse_winid. (closes #5171)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/popup.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index 0dd8d1ac04..a74c2adea6 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -863,8 +863,9 @@ Some recommended key actions: Tab accept current suggestion A mouse click arrives as <LeftMouse>. The coordinates are in |v:mouse_col| -and |v:mouse_lnum|. The top-left screen cell of the popup is col 1, row 1 -(not counting the border). +and |v:mouse_lnum|. |v:mouse_winid| holds the window ID, |v:mouse_win| is +always zero. The top-left screen cell of the popup is col 1, row 1 (not +counting the border). Vim provides standard filters |popup_filter_menu()| and |popup_filter_yesno()|. |