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:
parent
5488159209
commit
90ab555bbc
|
@ -1108,8 +1108,8 @@ static const struct message WmShowPopupExtremeLocationSeq[] = {
|
||||||
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
|
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
|
||||||
{ HCBT_SETFOCUS, hook },
|
{ HCBT_SETFOCUS, hook },
|
||||||
{ WM_SETFOCUS, sent|defwinproc },
|
{ WM_SETFOCUS, sent|defwinproc },
|
||||||
{ WM_NCPAINT, sent|wparam, 1 },
|
{ WM_NCPAINT, sent|wparam|optional, 1 }, /* Not always sent on Win8+ */
|
||||||
{ WM_ERASEBKGND, sent },
|
{ WM_ERASEBKGND, sent|optional }, /* Not always sent on Win8+ */
|
||||||
{ WM_WINDOWPOSCHANGED, sent },
|
{ WM_WINDOWPOSCHANGED, sent },
|
||||||
/* occasionally received on test machines */
|
/* occasionally received on test machines */
|
||||||
{ WM_NCPAINT, sent|optional },
|
{ WM_NCPAINT, sent|optional },
|
||||||
|
|
Loading…
Reference in New Issue