Signed-off-by: Francois Gouget fgouget@free.fr --- dlls/user32/sysparams.c | 2 +- dlls/user32/win.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index f5dc47ca4f7..9aad315b141 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -3243,7 +3243,7 @@ POINT map_dpi_point( POINT pt, UINT dpi_from, UINT dpi_to ) /********************************************************************** * point_win_to_phys_dpi */ -POINT point_win_to_phys_dpi( HWND hwnd, POINT pt ) +static POINT point_win_to_phys_dpi( HWND hwnd, POINT pt ) { return map_dpi_point( pt, GetDpiForWindow( hwnd ), get_win_monitor_dpi( hwnd ) ); } diff --git a/dlls/user32/win.h b/dlls/user32/win.h index 1f51fd63314..2ddca634536 100644 --- a/dlls/user32/win.h +++ b/dlls/user32/win.h @@ -129,7 +129,6 @@ extern UINT get_monitor_dpi( HMONITOR monitor ) DECLSPEC_HIDDEN; extern UINT get_win_monitor_dpi( HWND hwnd ) DECLSPEC_HIDDEN; extern UINT get_thread_dpi(void) DECLSPEC_HIDDEN; extern POINT map_dpi_point( POINT pt, UINT dpi_from, UINT dpi_to ) DECLSPEC_HIDDEN; -extern POINT point_win_to_phys_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN; extern POINT point_phys_to_win_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN; extern POINT point_win_to_thread_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN; extern POINT point_thread_to_win_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN;
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=52043
Your paranoid android.
=== debian9 (32 bit Chinese:China report) ===
user32: win.c:10169: Test failed: Expected foreground window 000E0120, got 00E300D4 win.c:10171: Test failed: GetActiveWindow() = 00000000 win.c:10171: Test failed: GetFocus() = 00000000 win.c:10172: Test failed: Received WM_ACTIVATEAPP(1), did not expect it. win.c:10216: Test failed: Expected foreground window 008B00CC, got 00E300D4 win.c:10218: Test failed: GetActiveWindow() = 00000000 win.c:10218: Test failed: GetFocus() = 00000000 win.c:10219: Test failed: Received WM_ACTIVATEAPP(1), did not expect it. win.c:10220: Test failed: Received WM_ACTIVATEAPP(0), did not expect it.