mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
updated for version 7.1-204
This commit is contained in:
@@ -4575,11 +4575,15 @@ make_tooltip(beval, text, pt)
|
|||||||
SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti);
|
SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti);
|
||||||
/* Make tooltip appear sooner */
|
/* Make tooltip appear sooner */
|
||||||
SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_INITIAL, 10);
|
SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_INITIAL, 10);
|
||||||
|
/* I've performed some tests and it seems the longest possible life time
|
||||||
|
* of tooltip is 30 seconds */
|
||||||
|
SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_AUTOPOP, 30000);
|
||||||
/*
|
/*
|
||||||
* HACK: force tooltip to appear, because it'll not appear until
|
* HACK: force tooltip to appear, because it'll not appear until
|
||||||
* first mouse move. D*mn M$
|
* first mouse move. D*mn M$
|
||||||
|
* Amazingly moving (2, 2) and then (-1, -1) the mouse doesn't move.
|
||||||
*/
|
*/
|
||||||
mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0);
|
mouse_event(MOUSEEVENTF_MOVE, 2, 2, 0, 0);
|
||||||
mouse_event(MOUSEEVENTF_MOVE, (DWORD)-1, (DWORD)-1, 0, 0);
|
mouse_event(MOUSEEVENTF_MOVE, (DWORD)-1, (DWORD)-1, 0, 0);
|
||||||
vim_free(pti);
|
vim_free(pti);
|
||||||
}
|
}
|
||||||
|
@@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
204,
|
||||||
/**/
|
/**/
|
||||||
203,
|
203,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user