From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/winex11.drv/x11drv.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 64380c1322f..d3112424e2c 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -887,15 +887,6 @@ static inline BOOL send_notify_message( HWND hwnd, UINT msg, WPARAM wparam, LPAR return NtUserMessageCall( hwnd, msg, wparam, lparam, 0, NtUserSendNotifyMessage, FALSE ); } -/* per-monitor DPI aware NtUserChildWindowFromPointEx call */ -static inline HWND child_window_from_point( HWND parent, LONG x, LONG y, UINT flags ) -{ - UINT context = NtUserSetThreadDpiAwarenessContext( NTUSER_DPI_PER_MONITOR_AWARE_V2 ); - HWND ret = NtUserChildWindowFromPointEx( parent, x, y, flags ); - NtUserSetThreadDpiAwarenessContext( context ); - return ret; -} - static inline HWND get_focus(void) { GUITHREADINFO info; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6713