From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/d3d9/tests/d3d9ex.c | 11 ++--------- dlls/d3d9/tests/device.c | 5 ++--- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/dlls/d3d9/tests/d3d9ex.c b/dlls/d3d9/tests/d3d9ex.c index 42367d6c243..06105c25d66 100644 --- a/dlls/d3d9/tests/d3d9ex.c +++ b/dlls/d3d9/tests/d3d9ex.c @@ -2580,9 +2580,8 @@ static DWORD WINAPI wndproc_thread(void *param) DWORD res; BOOL ret; - p->dummy_window = CreateWindowA("d3d9_test_wndproc_wc", "d3d9_test", - WS_MAXIMIZE | WS_VISIBLE | WS_CAPTION, 0, 0, registry_mode.dmPelsWidth, - registry_mode.dmPelsHeight, 0, 0, 0, 0); + p->dummy_window = CreateWindowA("static", "d3d9_test", WS_VISIBLE | WS_CAPTION, + 100, 100, 200, 200, 0, 0, 0, 0); flush_events(); ret = SetEvent(p->window_created); @@ -3007,9 +3006,6 @@ static void test_wndproc(void) SetForegroundWindow(GetDesktopWindow()); ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it, i=%u.\n", expect_messages->message, expect_messages->window, i); - - /* kwin sometimes resizes hidden windows. */ - flaky ok(!windowposchanged_received, "Received WM_WINDOWPOSCHANGED but did not expect it, i=%u.\n", i); expect_messages = NULL; @@ -3103,9 +3099,6 @@ static void test_wndproc(void) flaky_wine ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it, i=%u.\n", expect_messages->message, expect_messages->window, i); - - /* kwin and Win8+ sometimes resize hidden windows. */ - flaky ok(!windowposchanged_received, "Received WM_WINDOWPOSCHANGED but did not expect it, i=%u.\n", i); expect_messages = NULL; diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 431cd3ba76e..df9d7c54d27 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -3839,9 +3839,8 @@ static DWORD WINAPI wndproc_thread(void *param) DWORD res; BOOL ret; - p->dummy_window = CreateWindowA("d3d9_test_wndproc_wc", "d3d9_test", - WS_MAXIMIZE | WS_VISIBLE | WS_CAPTION, 0, 0, registry_mode.dmPelsWidth, - registry_mode.dmPelsHeight, 0, 0, 0, 0); + p->dummy_window = CreateWindowA("static", "d3d9_test", WS_VISIBLE | WS_CAPTION, + 100, 100, 200, 200, 0, 0, 0, 0); flush_events(); ret = SetEvent(p->window_created); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6700