[RFC] mshtml/tests: Fix events test when pointer is on a corner.

Nicolas Le Cam niko.lecam at gmail.com
Tue Oct 27 13:29:37 CDT 2009


Hi,

Since commit 8272ecd3f2235b923f2ec67bb51d051bdfbf466f I'm having
errors on events tests.

I just found that it only fails if pointer is on any corner. As I'm
always putting it on upper right corner when running winetest it was
always failing for me.

Minimizing the test window fixed it for me but I'm not sure it's the
right fix, so I'm sending it to wine-devel.
Tested on Win2k SP4 and WinXP SP2 (both with IE6).

-- 
Nicolas Le Cam
-------------- next part --------------
From 27f127c3e61fa7108f13b7582875681a39b752c6 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Tue, 27 Oct 2009 19:05:47 +0100
Subject: mshtml/tests: Fix events test when pointer is on a corner.

---
 dlls/mshtml/tests/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 9d23775..ebff925 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -1608,7 +1608,7 @@ static HWND create_container_window(void)
 
     RegisterClassExA(&wndclass);
     return CreateWindowA(szHTMLDocumentTest, szHTMLDocumentTest,
-            WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
+            WS_OVERLAPPEDWINDOW | WS_ICONIC, CW_USEDEFAULT, CW_USEDEFAULT,
             300, 300, NULL, NULL, NULL, NULL);
 }
 
-- 
1.6.3.3


More information about the wine-devel mailing list