changeset 7056:1ebd7608cfd9 v7.4.840

commit https://github.com/vim/vim/commit/8e5f5b47c2198ffa4161c21a4140eaa9bed46f37 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 26 23:12:38 2015 +0200 patch 7.4.840 Problem: Tooltip window stays open. Solution: Send a WM_CLOSE message. (Jurgen Kramer)
author Christian Brabandt <cb@256bit.org>
date Wed, 26 Aug 2015 23:15:04 +0200
parents d318829b6b8a
children 417dfdc030bf
files src/gui_w32.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -4836,6 +4836,7 @@ make_tooltip(beval, text, pt)
 delete_tooltip(beval)
     BalloonEval	*beval;
 {
+    PostMessage(beval->balloon, WM_CLOSE, 0, 0);
     PostMessage(beval->balloon, WM_DESTROY, 0, 0);
     PostMessage(beval->balloon, WM_NCDESTROY, 0, 0);
 }
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    840,
+/**/
     839,
 /**/
     838,