=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d8/tests: Use a borderless window for test_cursor_pos.
Alexandre Julliard
julliard at winehq.org
Mon Oct 16 14:38:31 CDT 2017
Module: wine
Branch: master
Commit: 8daf3fb5e0577f4f9c3d803e7019ae280d319884
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8daf3fb5e0577f4f9c3d803e7019ae280d319884
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Oct 12 17:14:29 2017 +0200
d3d8/tests: Use a borderless window for test_cursor_pos.
The mouse positions are wrong on KDE otherwise, even for the initial
SetCursorPos call that doesn't go through d3d8/9.
Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/tests/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 2c0565a..b35de66 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -1052,7 +1052,7 @@ static void test_cursor_pos(void)
wc.lpfnWndProc = test_cursor_proc;
wc.lpszClassName = "d3d8_test_cursor_wc";
ok(RegisterClassA(&wc), "Failed to register window class.\n");
- window = CreateWindowA("d3d8_test_cursor_wc", "d3d8_test", WS_OVERLAPPEDWINDOW,
+ window = CreateWindowA("d3d8_test_cursor_wc", "d3d8_test", WS_POPUP | WS_SYSMENU,
0, 0, 320, 240, NULL, NULL, NULL, NULL);
ShowWindow(window, SW_SHOW);
d3d8 = Direct3DCreate8(D3D_SDK_VERSION);
More information about the wine-cvs
mailing list