user32: Switch to normal window drawing on SetLayeredWindowAttributes call.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a0ffd70c7
commit
34b108dd1d
|
@ -3749,7 +3749,11 @@ BOOL WINAPI SetLayeredWindowAttributes( HWND hwnd, COLORREF key, BYTE alpha, DWO
|
|||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
if (ret) USER_Driver->pSetLayeredWindowAttributes( hwnd, key, alpha, flags );
|
||||
if (ret)
|
||||
{
|
||||
USER_Driver->pSetLayeredWindowAttributes( hwnd, key, alpha, flags );
|
||||
update_window_state( hwnd );
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -1561,6 +1561,8 @@ void CDECL macdrv_SetLayeredWindowAttributes(HWND hwnd, COLORREF key, BYTE alpha
|
|||
if (data)
|
||||
{
|
||||
data->layered = TRUE;
|
||||
data->ulw_layered = FALSE;
|
||||
if (data->surface) set_surface_use_alpha(data->surface, FALSE);
|
||||
if (data->cocoa_window)
|
||||
{
|
||||
sync_window_opacity(data, key, alpha, FALSE, flags);
|
||||
|
|
|
@ -2535,6 +2535,8 @@ void CDECL X11DRV_SetLayeredWindowAttributes( HWND hwnd, COLORREF key, BYTE alph
|
|||
|
||||
if (data)
|
||||
{
|
||||
set_window_visual( data, &default_visual );
|
||||
|
||||
if (data->whole_window)
|
||||
sync_window_opacity( data->display, data->whole_window, key, alpha, flags );
|
||||
if (data->surface)
|
||||
|
|
Loading…
Reference in New Issue