From: Rémi Bernon rbernon@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;