summaryrefslogtreecommitdiff
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-27 12:33:17 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-27 12:33:17 +0200
commit264e9fd61b92bbf27c00b95537f6bebbbe5324f6 (patch)
tree731bb027c0ce2ee1e33138b1cbea75ae01501754 /src/gui_w32.c
parent6b5ef067a548f1995dfb09190eca5a3560c2dad6 (diff)
downloadvim-git-264e9fd61b92bbf27c00b95537f6bebbbe5324f6.tar.gz
updated for version 7.3.038v7.3.038
Problem: v:windowid isn't set on MS-Windows. Solution: Set it to the window handle. (Chris Sutcliffe)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 507142341..f3b9c5bb6 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1573,6 +1573,11 @@ gui_mch_init(void)
# endif
#endif
+#ifdef FEAT_EVAL
+ /* set the v:windowid variable */
+ set_vim_var_nr(VV_WINDOWID, (long)s_hwnd);
+#endif
+
theend:
/* Display any pending error messages */
display_errors();