[PATCH 2/4] user32/tests: Make a hook optional in WmCreateVisibleChildSeq

Alex Henrie wine at gitlab.winehq.org
Thu May 5 00:30:12 CDT 2022


From: Alex Henrie <alexhenrie24 at gmail.com>

Fixes a testbot failure.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/user32/tests/msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 62aaa322c85..79ac83db044 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -1437,7 +1437,7 @@ static const struct message WmCreateVisibleChildSeq[] = {
     { WM_ERASEBKGND, sent|parent|optional },
     { WM_WINDOWPOSCHANGED, sent|wparam, SWP_SHOWWINDOW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOACTIVATE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
     { WM_NCCALCSIZE, sent|wparam|optional, 1 }, /* WinXP */
-    { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
+    { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* Not sent on Win2003 or Win2008 */
     { 0 }
 };
 /* ShowWindow(SW_SHOW) for a not visible child window */
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/37



More information about the wine-devel mailing list