[PATCH 0/1] MR6292: win32u: Get visible and client rects in parent-relative coordinates.
From: Rémi Bernon <rbernon(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57071 --- dlls/win32u/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c index 73478438928..924742dc176 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -1953,6 +1953,8 @@ static BOOL apply_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags, stru if (!(win = get_win_ptr( hwnd )) || win == WND_DESKTOP || win == WND_OTHER_PROCESS) return FALSE; + old_rects.visible = win->rects.visible; + old_rects.client = win->rects.client; old_surface = win->surface; if (old_surface != new_surface) swp_flags |= SWP_FRAMECHANGED; /* force refreshing non-client area */ if (new_surface == &dummy_surface) swp_flags |= SWP_NOREDRAW; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6292
participants (1)
-
Rémi Bernon