[PATCH] user32/tests: Add optional messages to test sequences.

Zhiyi Zhang zzhang at codeweavers.com
Mon Feb 22 07:39:32 CST 2021


Fix a possible test failure on Win10 2009.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
Fix a test failure like in https://testbot.winehq.org/JobDetails.pl?Key=85952#k302

 dlls/user32/tests/msg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 11fb764e6cd..63040ef8e45 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -13917,6 +13917,7 @@ static const struct message WmCreateDialogParamSeq_1[] = {
     { WM_QUERYNEWPALETTE, sent|optional },
     { WM_PALETTEISCHANGING, sent|optional },
     { WM_WINDOWPOSCHANGING, sent|wparam|optional, SWP_NOSIZE|SWP_NOMOVE },
+    { WM_WINDOWPOSCHANGED, sent|wparam|optional, SWP_NOMOVE|SWP_NOSIZE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE|SWP_NOREDRAW },
     { WM_ACTIVATEAPP, sent|wparam, 1 },
     { WM_NCACTIVATE, sent },
     { WM_ACTIVATE, sent|wparam, 1 },
-- 
2.27.0



More information about the wine-devel mailing list