From: Rémi Bernon <rbernon@codeweavers.com> The window rects are all in absolute screen position and the client rect shouldn't be made relative to the window position. --- dlls/win32u/window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c index 4bceb90fcd2..9ae5f456464 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -2272,7 +2272,6 @@ static BOOL apply_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags, stru { MONITORINFO monitor_info = monitor_info_from_rect( new_rects->window, dpi ); struct window_rects rects = { monitor_info.rcMonitor, monitor_info.rcMonitor, monitor_info.rcMonitor }; - OffsetRect( &rects.client, -rects.client.left, -rects.client.top ); swp_flags |= WINE_SWP_FULLSCREEN; swp_flags &= ~WINE_SWP_RESIZABLE; monitor_rects = map_window_rects_virt_to_raw( rects, dpi ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10117