K.Takata's patch queue for Vim
Revision | 638948af611d5b4f01422c73e14455b9cdb481c6 (tree) |
---|---|
Zeit | 2022-01-22 12:37:11 |
Autor | K.Takata <kentkt@csc....> |
Commiter | K.Takata |
Update balloon patch
@@ -38,7 +38,58 @@ | ||
38 | 38 | diff --git a/src/gui_w32.c b/src/gui_w32.c |
39 | 39 | --- a/src/gui_w32.c |
40 | 40 | +++ b/src/gui_w32.c |
41 | -@@ -8561,89 +8561,13 @@ gui_mch_destroy_sign(void *sign) | |
41 | +@@ -4035,42 +4035,6 @@ static UINT_PTR BevalTimerId = 0; | |
42 | + static DWORD LastActivity = 0; | |
43 | + | |
44 | + | |
45 | +-// cproto fails on missing include files | |
46 | +-# ifndef PROTO | |
47 | +- | |
48 | +-/* | |
49 | +- * excerpts from headers since this may not be presented | |
50 | +- * in the extremely old compilers | |
51 | +- */ | |
52 | +-# include <pshpack1.h> | |
53 | +- | |
54 | +-# endif | |
55 | +- | |
56 | +-typedef struct _DllVersionInfo | |
57 | +-{ | |
58 | +- DWORD cbSize; | |
59 | +- DWORD dwMajorVersion; | |
60 | +- DWORD dwMinorVersion; | |
61 | +- DWORD dwBuildNumber; | |
62 | +- DWORD dwPlatformID; | |
63 | +-} DLLVERSIONINFO; | |
64 | +- | |
65 | +-# ifndef PROTO | |
66 | +-# include <poppack.h> | |
67 | +-# endif | |
68 | +- | |
69 | +-typedef struct tagTOOLINFOA_NEW | |
70 | +-{ | |
71 | +- UINT cbSize; | |
72 | +- UINT uFlags; | |
73 | +- HWND hwnd; | |
74 | +- UINT_PTR uId; | |
75 | +- RECT rect; | |
76 | +- HINSTANCE hinst; | |
77 | +- LPSTR lpszText; | |
78 | +- LPARAM lParam; | |
79 | +-} TOOLINFO_NEW; | |
80 | +- | |
81 | + typedef struct tagNMTTDISPINFO_NEW | |
82 | + { | |
83 | + NMHDR hdr; | |
84 | +@@ -4105,7 +4069,6 @@ typedef struct tagNMTTDISPINFOW_NEW | |
85 | + } NMTTDISPINFOW_NEW; | |
86 | + | |
87 | + | |
88 | +-typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(DLLVERSIONINFO *); | |
89 | + # ifndef TTM_SETMAXTIPWIDTH | |
90 | + # define TTM_SETMAXTIPWIDTH (WM_USER+24) | |
91 | + # endif | |
92 | +@@ -8561,89 +8524,13 @@ gui_mch_destroy_sign(void *sign) | |
42 | 93 | * 5) WM_NOTIFY:TTN_POP destroys created tooltip |
43 | 94 | */ |
44 | 95 |
@@ -132,7 +183,7 @@ | ||
132 | 183 | if (pti == NULL) |
133 | 184 | return; |
134 | 185 | |
135 | -@@ -8655,30 +8579,19 @@ make_tooltip(BalloonEval *beval, char *t | |
186 | +@@ -8655,30 +8542,19 @@ make_tooltip(BalloonEval *beval, char *t | |
136 | 187 | SetWindowPos(beval->balloon, HWND_TOPMOST, 0, 0, 0, 0, |
137 | 188 | SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); |
138 | 189 |