From 295682f35c30f7b22bae0b6d3c02638ef4899f65 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 15 Oct 2010 12:19:24 +0200 Subject: [PATCH] gdi32/tests: Make the test clipping window topmost to see if it helps. --- dlls/gdi32/tests/clipping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/gdi32/tests/clipping.c b/dlls/gdi32/tests/clipping.c index 0bca17908eb..641beac9e1e 100644 --- a/dlls/gdi32/tests/clipping.c +++ b/dlls/gdi32/tests/clipping.c @@ -35,7 +35,8 @@ static void test_GetRandomRgn(void) ok( hwnd != 0, "CreateWindow failed\n" ); SetRect(&window_rc, 400, 300, 500, 400); - MoveWindow(hwnd, window_rc.left, window_rc.top, window_rc.right - window_rc.left, window_rc.bottom - window_rc.top, FALSE); + SetWindowPos(hwnd, HWND_TOPMOST, window_rc.left, window_rc.top, + window_rc.right - window_rc.left, window_rc.bottom - window_rc.top, 0 ); hdc = GetDC(hwnd); ret = GetRandomRgn(hdc, hrgn, 1); -- 2.11.4.GIT