user32/tests: Fix occasional failure in test_messages() message sequences.

Some window messages in the WmShowPopupExtremeLocationSeq message
sequence aren't always sent on Win8+.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Connor McAdams 2021-09-15 03:00:13 -04:00 committed by Alexandre Julliard
parent 5488159209
commit 90ab555bbc
1 changed files with 2 additions and 2 deletions

View File

@ -1108,8 +1108,8 @@ static const struct message WmShowPopupExtremeLocationSeq[] = {
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
{ HCBT_SETFOCUS, hook },
{ WM_SETFOCUS, sent|defwinproc },
{ WM_NCPAINT, sent|wparam, 1 },
{ WM_ERASEBKGND, sent },
{ WM_NCPAINT, sent|wparam|optional, 1 }, /* Not always sent on Win8+ */
{ WM_ERASEBKGND, sent|optional }, /* Not always sent on Win8+ */
{ WM_WINDOWPOSCHANGED, sent },
/* occasionally received on test machines */
{ WM_NCPAINT, sent|optional },