]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-204 v7.1.204
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Jan 2008 12:15:52 +0000 (12:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Jan 2008 12:15:52 +0000 (12:15 +0000)
src/gui_w32.c
src/version.c

index aad613c7bddeada544ab25cd2c983be6ec34ede8..e5593357c9c1e457efbf96ca39ac632e337d2252 100644 (file)
@@ -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);
 }
index aa1091161d3a3cf3f0701a5e8418c88b3f1cb8ee..f9ad029a7bebce2e08c121e59a95a8d134fdb83b 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    204,
 /**/
     203,
 /**/