winex11: Allow embedded windows to use an alpha channel with their surface.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-04-04 18:24:41 +02:00
parent 0188dc7da8
commit 3c8ff605a6
1 changed files with 1 additions and 1 deletions

View File

@ -2632,7 +2632,7 @@ BOOL CDECL X11DRV_UpdateLayeredWindow( HWND hwnd, const UPDATELAYEREDWINDOWINFO
if (!surface || !EqualRect( &surface->rect, &rect ))
{
data->surface = create_surface( data->whole_window, &data->vis, &rect,
color_key, !data->embedded );
color_key, data->use_alpha );
if (surface) window_surface_release( surface );
surface = data->surface;
}