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@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c534ba589e
commit
8daf3fb5e0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue