Zhiyi Zhang : wined3d: Do not clip the cursor after changing display modes.
Alexandre Julliard
julliard at winehq.org
Thu Apr 9 16:04:47 CDT 2020
Module: wine
Branch: master
Commit: f91dd56ccd7ee980e8d867eb872f40f609f485f7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f91dd56ccd7ee980e8d867eb872f40f609f485f7
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Thu Apr 9 15:33:05 2020 +0800
wined3d: Do not clip the cursor after changing display modes.
DirectDraw should clip the cursor to the primary monitor only when the
cooperative level is DDSCL_EXCLUSIVE. For Direct3D 8, 9 and DXGI,
changing display modes shouldn't clip the cursor as tests showed.
Signed-off-by: Zhiyi Zhang <zzhang 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 --
dlls/d3d9/tests/device.c | 2 --
dlls/ddraw/ddraw.c | 31 +++++++++++++++++++++++++++----
dlls/ddraw/tests/ddraw1.c | 3 ---
dlls/ddraw/tests/ddraw2.c | 3 ---
dlls/ddraw/tests/ddraw4.c | 3 ---
dlls/ddraw/tests/ddraw7.c | 3 ---
dlls/dxgi/tests/dxgi.c | 2 --
dlls/wined3d/directx.c | 5 -----
dlls/wined3d/swapchain.c | 1 -
10 files changed, 27 insertions(+), 28 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=f91dd56ccd7ee980e8d867eb872f40f609f485f7
More information about the wine-cvs
mailing list