From: Zhao Yi <zhaoyi@uniontech.com> Signed-off-by: Zhao Yi <zhaoyi@uniontech.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 fc129df0785..350c9092de8 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -2678,7 +2678,7 @@ BOOL WINAPI NtUserUpdateLayeredWindow( HWND hwnd, HDC hdc_dst, const POINT *pts_ apply_window_pos( hwnd, 0, swp_flags, surface, &new_rects, NULL ); if (!surface) return FALSE; - if (!hdc_src || surface == &dummy_surface) + if (!hdc_src || surface == &dummy_surface || (NtUserWindowFromDC( hdc_src ) == hwnd)) { user_driver->pUpdateLayeredWindow( hwnd, source_alpha, flags ); ret = TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10324