[PATCH 2/5] user32/tests: Add missing winevents to test_SetWindowRgn() message sequences.
Connor McAdams
cmcadams at codeweavers.com
Thu Sep 23 18:19:03 CDT 2021
Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
---
dlls/user32/tests/msg.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 63834725a54..b2dac964a2a 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -13366,6 +13366,8 @@ static const struct message WmSetWindowRgn_clear[] = {
{ WM_NCPAINT, sent|optional },
{ WM_GETTEXT, sent|defwinproc|optional },
{ WM_ERASEBKGND, sent|optional },
+ { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
+ { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
{ WM_WINDOWPOSCHANGING, sent|optional },
{ WM_NCCALCSIZE, sent|optional|wparam, 1 },
{ WM_NCPAINT, sent|optional },
@@ -18583,6 +18585,9 @@ START_TEST(msg)
else
test_TrackMouseEvent();
+ test_SetWindowRgn();
+ test_sys_menu();
+
/* Fix message sequences before removing 4 lines below */
if (pUnhookWinEvent && hEvent_hook)
{
@@ -18592,8 +18597,6 @@ START_TEST(msg)
}
hEvent_hook = 0;
- test_SetWindowRgn();
- test_sys_menu();
test_dialog_messages();
test_EndDialog();
test_nullCallback();
--
2.25.1
More information about the wine-devel
mailing list