From 51f555a517be91348ac6a7c73862a54c13a1dc1e Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Tue, 19 Dec 2017 18:29:29 -0600 Subject: [PATCH] user32/tests: Don't leave hwndMain in a topmost state. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/user32/tests/win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index db27b6b7554..ea9fac2ff51 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -4011,6 +4011,8 @@ done: if (child) DestroyWindow(child); DestroyWindow(popup); + + SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE|SWP_NOMOVE); } static void test_validatergn(HWND hwnd)