[PATCH v2 3/3] winex11.drv: Use generic GetMonitorInfo.

Alexandre Julliard julliard at winehq.org
Fri Jun 21 16:23:38 CDT 2019


Huw Davies <huw at codeweavers.com> writes:

> Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
> Signed-off-by: Huw Davies <huw at codeweavers.com>
> ---
>  dlls/user32/driver.c              | 23 ---------------
>  dlls/user32/sysparams.c           | 47 +++++++++++++++++++++++++++++++
>  dlls/user32/user_private.h        |  1 +
>  dlls/winex11.drv/display.c        | 12 ++++++++
>  dlls/winex11.drv/winex11.drv.spec |  1 -
>  dlls/winex11.drv/x11drv.h         |  2 ++
>  dlls/winex11.drv/xinerama.c       | 22 +--------------
>  7 files changed, 63 insertions(+), 45 deletions(-)

This is breaking the d3d tests, for instance:

../../../tools/runtest -q -P wine -T ../../.. -M d3d8.dll -p d3d8_test.exe device && touch device.ok
device.c:1427: Test failed: Screen height is 1200, expected 1080.
device.c:1482: Test failed: Screen height is 1200, expected 1080.
device.c:1540: Test failed: Screen height is 1200, expected 1080.
device.c:1553: Test failed: Screen height is 1200, expected 1080.
device.c:2599: Test failed: Got unexpected wparam 0 for message 1c, expected 1.
device.c:6012: Tests skipped: Format D3DFMT_YUY2 not supported, skipping lockrect offset tests.
device.c:6012: Tests skipped: Format D3DFMT_UYVY not supported, skipping lockrect offset tests.
make: *** [Makefile:178: device.ok] Error 5

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list