summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-01-05 12:15:52 +0000
committervimboss <devnull@localhost>2008-01-05 12:15:52 +0000
commit38a9f2a38c1899cf7012e39f06e29e9a802caae3 (patch)
treeb3435ecd4cc8bfaeca0b69c2eaea26b5af792a11
parent19c48717af0182236959917827679c3afa44f534 (diff)
downloadvim-38a9f2a38c1899cf7012e39f06e29e9a802caae3.tar.gz
updated for version 7.1-204v7.1.204v7-1-204
-rw-r--r--src/gui_w32.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index aad613c7..e5593357 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -4575,11 +4575,15 @@ make_tooltip(beval, text, pt)
SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti);
/* Make tooltip appear sooner */
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
* 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);
vim_free(pti);
}
diff --git a/src/version.c b/src/version.c
index aa109116..f9ad029a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 204,
+/**/
203,
/**/
202,