Commit 3c8ff605 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 0188dc7d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment