Mirror of the Vim source from https://github.com/vim/vim
Revisión | 62716fd61fe94fb9e7f39294dfa9dba4aa06fbf8 (tree) |
---|---|
Tiempo | 2008-01-05 21:15:52 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.1-204
@@ -4575,11 +4575,15 @@ | ||
4575 | 4575 | SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti); |
4576 | 4576 | /* Make tooltip appear sooner */ |
4577 | 4577 | SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_INITIAL, 10); |
4578 | + /* I've performed some tests and it seems the longest possible life time | |
4579 | + * of tooltip is 30 seconds */ | |
4580 | + SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_AUTOPOP, 30000); | |
4578 | 4581 | /* |
4579 | 4582 | * HACK: force tooltip to appear, because it'll not appear until |
4580 | 4583 | * first mouse move. D*mn M$ |
4584 | + * Amazingly moving (2, 2) and then (-1, -1) the mouse doesn't move. | |
4581 | 4585 | */ |
4582 | - mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0); | |
4586 | + mouse_event(MOUSEEVENTF_MOVE, 2, 2, 0, 0); | |
4583 | 4587 | mouse_event(MOUSEEVENTF_MOVE, (DWORD)-1, (DWORD)-1, 0, 0); |
4584 | 4588 | vim_free(pti); |
4585 | 4589 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 204, | |
671 | +/**/ | |
670 | 672 | 203, |
671 | 673 | /**/ |
672 | 674 | 202, |