From: Paul Gofman pgofman@codeweavers.com
--- dlls/win32u/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c index 98e2e46e67d..83494b1ec62 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -2091,7 +2091,7 @@ static BOOL apply_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags, stru extra_rects[0] = extra_rects[1] = new_rects->visible; if (new_surface) { - extra_rects[1] = new_surface->rect; + extra_rects[1] = is_layered ? dummy_surface.rect : new_surface->rect; OffsetRect( &extra_rects[1], new_rects->visible.left, new_rects->visible.top ); } if (valid_rects) extra_rects[2] = valid_rects[0];