[4/5] user32: Our popup test window loses capture to itself.
Vincent Povirk
madewokherd at gmail.com
Wed Apr 16 14:08:26 CDT 2014
-------------- next part --------------
From b24accec10513983baed458e583893e17603cc96 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Tue, 25 Mar 2014 15:45:52 -0500
Subject: [PATCH 04/11] user32: Our popup test window loses capture to itself.
---
dlls/user32/tests/win.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 2d6e534..aba9359 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -3098,6 +3098,9 @@ static LRESULT CALLBACK test_capture_4_proc(HWND hWnd, UINT msg, WPARAM wParam,
}
cap_wnd = GetCapture();
+ ok(cap_wnd == (HWND)lParam, "capture window %p does not match lparam %lx\n", cap_wnd, lParam);
+ todo_wine ok(cap_wnd == hWnd, "capture window %p does not match hwnd %p\n", cap_wnd, hWnd);
+
/* check that re-setting the capture for the menu fails */
set_cap_wnd = SetCapture(cap_wnd);
ok(!set_cap_wnd || broken(set_cap_wnd == cap_wnd), /* nt4 */
--
1.8.3.2
More information about the wine-patches
mailing list