From 4ee1a634c08e132086c53e7373c7ddbdca98b3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=A4dicke?= Date: Sun, 14 Apr 2019 14:26:00 +0200 Subject: [PATCH] user32: Hide window when UpdateLayeredWindowIndirect() is called MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WORKAROUND for Condor 2 to hide shadow windows. Signed-off-by: Felix Hädicke --- dlls/user32/win.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 3582262b7de6..2d040c8e9d82 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -3964,6 +3964,12 @@ BOOL WINAPI UpdateLayeredWindowIndirect( HWND hwnd, const UPDATELAYEREDWINDOWINF return FALSE; } + if (info->dwFlags == ULW_ALPHA) + { + ShowWindow( hwnd, SW_HIDE ); + return TRUE; + } + WIN_GetRectangles( hwnd, COORDS_PARENT, &window_rect, &client_rect ); if (info->pptDst)