0
0
mirror of https://github.com/vim/vim.git synced 2025-10-29 09:37:35 -04:00

patch 7.4.840

Problem:    Tooltip window stays open.
Solution:   Send a WM_CLOSE message. (Jurgen Kramer)
This commit is contained in:
Bram Moolenaar
2015-08-26 23:12:38 +02:00
parent 6ed535dbc0
commit 8e5f5b47c2
2 changed files with 3 additions and 0 deletions

View File

@@ -4836,6 +4836,7 @@ make_tooltip(beval, text, pt)
delete_tooltip(beval) delete_tooltip(beval)
BalloonEval *beval; BalloonEval *beval;
{ {
PostMessage(beval->balloon, WM_CLOSE, 0, 0);
PostMessage(beval->balloon, WM_DESTROY, 0, 0); PostMessage(beval->balloon, WM_DESTROY, 0, 0);
PostMessage(beval->balloon, WM_NCDESTROY, 0, 0); PostMessage(beval->balloon, WM_NCDESTROY, 0, 0);
} }

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
840,
/**/ /**/
839, 839,
/**/ /**/