[PATCH 3/4] user32/tests: Make some hooks optional in WmCreateMDIchildInvisibleMaxSeq4
Alex Henrie
wine at gitlab.winehq.org
Thu May 5 00:30:13 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 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 79ac83db044..94ad3484b52 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -3493,8 +3493,9 @@ static const struct message WmCreateMDIchildInvisibleMaxSeq4[] = {
{ WM_WINDOWPOSCHANGED, sent|wparam, SWP_FRAMECHANGED|SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI frame */
{ WM_NCCALCSIZE, sent|wparam|optional, 1 }, /* MDI child */
- { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI child */
- { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI child */
+ /* The next two events are not sent on Windows Server 2003 or 2008 */
+ { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* MDI child */
+ { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* MDI child */
/* Win2k sends wparam set to
* MAKEWPARAM(WM_CREATE, MDI_FIRST_CHILD_ID + nTotalCreated),
* while Win9x doesn't bother to set child window id according to
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/37
More information about the wine-devel
mailing list