From: Rémi Bernon <rbernon@codeweavers.com> Native doesn't support DPI scaling otherwise and the tests are skipped. --- dlls/user32/tests/monitor.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c index 69a46faba28..eaf3d268469 100644 --- a/dlls/user32/tests/monitor.c +++ b/dlls/user32/tests/monitor.c @@ -3755,7 +3755,10 @@ static void test_monitor_dpi(void) { int min = 0, max = 0, cur = 0; - set_display_settings( infos[i].handle, 800, 600 ); + /* native disables DPI scaling when resolution is below 1024x768, but Wine default CI resolution is 1024x768 */ + if (winetest_platform_is_wine) set_display_settings( infos[i].handle, 800, 600 ); + else set_display_settings( infos[i].handle, 1024, 768 ); + get_monitor_infos( infos ); /* refresh infos as changing display settings may invalidate HMONITOR */ get_monitor_dpi_scale( infos[i].handle, &min, &cur, &max ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11166