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

Alexandre Julliard julliard at winehq.org
Wed Dec 20 14:09:21 CST 2017


Module: wine
Branch: master
Commit: 51f555a517be91348ac6a7c73862a54c13a1dc1e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=51f555a517be91348ac6a7c73862a54c13a1dc1e

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Dec 19 18:29:29 2017 -0600

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

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 db27b6b..ea9fac2 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)




More information about the wine-cvs mailing list