ddraw/tests: Look for more messages when losing focus.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
27ba57e804
commit
4e80641d87
|
@ -2447,8 +2447,12 @@ static void test_coop_level_mode_set(void)
|
|||
static const struct message exclusive_focus_loss_messages[] =
|
||||
{
|
||||
{WM_ACTIVATE, TRUE, WA_INACTIVE},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window resize due to mode change. */
|
||||
{WM_WINDOWPOSCHANGED, FALSE, 0},
|
||||
{WM_SIZE, TRUE, SIZE_RESTORED}, /* Generated by DefWindowProc. */
|
||||
{WM_DISPLAYCHANGE, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0},
|
||||
{WM_KILLFOCUS, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window minimized. */
|
||||
/* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of
|
||||
* SW_MINIMIZED, causing a recursive window activation that does not
|
||||
* produce the same result in Wine yet. Ignore the difference for now.
|
||||
|
|
|
@ -2572,8 +2572,12 @@ static void test_coop_level_mode_set(void)
|
|||
static const struct message exclusive_focus_loss_messages[] =
|
||||
{
|
||||
{WM_ACTIVATE, TRUE, WA_INACTIVE},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window resize due to mode change. */
|
||||
{WM_WINDOWPOSCHANGED, FALSE, 0},
|
||||
{WM_SIZE, TRUE, SIZE_RESTORED}, /* Generated by DefWindowProc. */
|
||||
{WM_DISPLAYCHANGE, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0},
|
||||
{WM_KILLFOCUS, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window minimized. */
|
||||
/* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of
|
||||
* SW_MINIMIZED, causing a recursive window activation that does not
|
||||
* produce the same result in Wine yet. Ignore the difference for now.
|
||||
|
|
|
@ -2713,8 +2713,12 @@ static void test_coop_level_mode_set(void)
|
|||
static const struct message exclusive_focus_loss_messages[] =
|
||||
{
|
||||
{WM_ACTIVATE, TRUE, WA_INACTIVE},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window resize due to mode change. */
|
||||
{WM_WINDOWPOSCHANGED, FALSE, 0},
|
||||
{WM_SIZE, TRUE, SIZE_RESTORED}, /* Generated by DefWindowProc. */
|
||||
{WM_DISPLAYCHANGE, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0},
|
||||
{WM_KILLFOCUS, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window minimized. */
|
||||
/* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of
|
||||
* SW_MINIMIZED, causing a recursive window activation that does not
|
||||
* produce the same result in Wine yet. Ignore the difference for now.
|
||||
|
|
|
@ -2442,8 +2442,12 @@ static void test_coop_level_mode_set(void)
|
|||
static const struct message exclusive_focus_loss_messages[] =
|
||||
{
|
||||
{WM_ACTIVATE, TRUE, WA_INACTIVE},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window resize due to mode change. */
|
||||
{WM_WINDOWPOSCHANGED, FALSE, 0},
|
||||
{WM_SIZE, TRUE, SIZE_RESTORED}, /* Generated by DefWindowProc. */
|
||||
{WM_DISPLAYCHANGE, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0},
|
||||
{WM_KILLFOCUS, FALSE, 0},
|
||||
{WM_WINDOWPOSCHANGING, FALSE, 0}, /* Window minimized. */
|
||||
/* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of
|
||||
* SW_MINIMIZED, causing a recursive window activation that does not
|
||||
* produce the same result in Wine yet. Ignore the difference for now.
|
||||
|
|
Loading…
Reference in New Issue