mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
server: Update window surface regions when the window is shaped.
This commit is contained in:
parent
046d55ab6a
commit
ee8f0b6c5d
|
@ -2485,7 +2485,8 @@ DECL_HANDLER(set_window_pos)
|
|||
if (is_visible( top ) && (top->paint_flags & PAINT_HAS_SURFACE))
|
||||
{
|
||||
reply->surface_win = top->handle;
|
||||
reply->needs_update = !!(top->paint_flags & (PAINT_HAS_PIXEL_FORMAT | PAINT_PIXEL_FORMAT_CHILD));
|
||||
reply->needs_update = !!(top->paint_flags & (PAINT_HAS_PIXEL_FORMAT | PAINT_PIXEL_FORMAT_CHILD)) ||
|
||||
!!top->win_region;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue