user32/tests: Don't leave hwndMain in a topmost state.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2017-12-19 18:29:29 -06:00 committed by Alexandre Julliard
parent 0ec9ecacdc
commit 51f555a517
1 changed files with 2 additions and 0 deletions

View File

@ -4011,6 +4011,8 @@ done:
if (child) DestroyWindow(child); if (child) DestroyWindow(child);
DestroyWindow(popup); DestroyWindow(popup);
SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE|SWP_NOMOVE);
} }
static void test_validatergn(HWND hwnd) static void test_validatergn(HWND hwnd)