Skip to content

Commit

Permalink
user32: Hide window when UpdateLayeredWindowIndirect() is called
Browse files Browse the repository at this point in the history
WORKAROUND for Condor 2 to hide shadow windows.

Signed-off-by: Felix Hädicke <felixhaedicke@web.de>
  • Loading branch information
felixhaedicke committed Jul 10, 2019
1 parent 6b914f3 commit 4ee1a63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dlls/user32/win.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4ee1a63

Please sign in to comment.