summaryrefslogtreecommitdiff
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-04 17:41:03 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-04 17:41:03 +0200
commitc9721bdc63378cc6123e775ffe43e9cba30322b3 (patch)
tree2a8cc1f8b3699c8a0e4121be7b19eb25a53f8919 /src/gui_beval.c
parent9ed96efb3d47d46e9637da04656efff715102407 (diff)
downloadvim-git-c9721bdc63378cc6123e775ffe43e9cba30322b3.tar.gz
patch 7.4.1892v7.4.1892
Problem: balloon eval only gets the window number, not the ID. Solution: Add v:beval_winid.
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index 9a945bc8a..4525dde7a 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -61,6 +61,7 @@ general_beval_cb(BalloonEval *beval, int state UNUSED)
set_vim_var_nr(VV_BEVAL_BUFNR, (long)wp->w_buffer->b_fnum);
set_vim_var_nr(VV_BEVAL_WINNR, winnr);
+ set_vim_var_nr(VV_BEVAL_WINID, wp->w_id);
set_vim_var_nr(VV_BEVAL_LNUM, (long)lnum);
set_vim_var_nr(VV_BEVAL_COL, (long)(col + 1));
set_vim_var_string(VV_BEVAL_TEXT, text, -1);