Alexandre Julliard : winex11: Allow embedded windows to use an alpha channel with their surface.
Alexandre Julliard
julliard at winehq.org
Wed Apr 4 15:08:01 CDT 2018
Module: wine
Branch: master
Commit: 3c8ff605a61d5e59e767ab234ce102d0246ad895
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3c8ff605a61d5e59e767ab234ce102d0246ad895
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Apr 4 18:24:41 2018 +0200
winex11: Allow embedded windows to use an alpha channel with their surface.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winex11.drv/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index fff3f5c..5fecd9a 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -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;
}
More information about the wine-cvs
mailing list