server: Update all children upon SetLayeredWindowAttributes.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-04-18 18:43:13 +02:00 committed by Alexandre Julliard
parent b956b1f407
commit 6a0ffd70c7
1 changed files with 1 additions and 1 deletions

View File

@ -2833,7 +2833,7 @@ DECL_HANDLER(set_window_layered_info)
win->layered_flags = req->flags;
win->is_layered = 1;
/* repaint since we know now it's not going to use UpdateLayeredWindow */
if (!was_layered) redraw_window( win, 0, 1, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME );
if (!was_layered) redraw_window( win, 0, 1, RDW_ALLCHILDREN | RDW_INVALIDATE | RDW_ERASE | RDW_FRAME );
}
else set_win32_error( ERROR_INVALID_WINDOW_HANDLE );
}