winemac: Trace when a window's per-pixel-alpha setting changes.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ken Thomases 2016-09-02 03:08:00 -05:00 committed by Alexandre Julliard
parent c2e316a3e6
commit 5c5eef8d40
1 changed files with 1 additions and 0 deletions

View File

@ -481,6 +481,7 @@ static void sync_window_opacity(struct macdrv_win_data *data, COLORREF key, BYTE
if (!data->per_pixel_alpha != !per_pixel_alpha)
{
TRACE("setting window %p/%p per-pixel-alpha to %d\n", data->hwnd, data->cocoa_window, per_pixel_alpha);
macdrv_window_use_per_pixel_alpha(data->cocoa_window, per_pixel_alpha);
data->per_pixel_alpha = per_pixel_alpha;
needs_flush = TRUE;