Mercurial > vim
comparison src/gui_w32.c @ 7060:41ccc6f95954 v7.4.842
commit https://github.com/vim/vim/commit/cdf0442d009ea97fad06d72231f7de309c75205a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 27 22:25:10 2015 +0200
patch 7.4.842
Problem: Sending too many messages to close the balloon.
Solution: Only send a WM_CLOSE message. (Jurgen Kramer)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 27 Aug 2015 22:30:13 +0200 |
parents | 1ebd7608cfd9 |
children | 861a44fc5183 |
comparison
equal
deleted
inserted
replaced
7059:9c30652a966b | 7060:41ccc6f95954 |
---|---|
4835 static void | 4835 static void |
4836 delete_tooltip(beval) | 4836 delete_tooltip(beval) |
4837 BalloonEval *beval; | 4837 BalloonEval *beval; |
4838 { | 4838 { |
4839 PostMessage(beval->balloon, WM_CLOSE, 0, 0); | 4839 PostMessage(beval->balloon, WM_CLOSE, 0, 0); |
4840 PostMessage(beval->balloon, WM_DESTROY, 0, 0); | |
4841 PostMessage(beval->balloon, WM_NCDESTROY, 0, 0); | |
4842 } | 4840 } |
4843 | 4841 |
4844 /*ARGSUSED*/ | 4842 /*ARGSUSED*/ |
4845 static VOID CALLBACK | 4843 static VOID CALLBACK |
4846 BevalTimerProc(hwnd, uMsg, idEvent, dwTime) | 4844 BevalTimerProc(hwnd, uMsg, idEvent, dwTime) |