1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

server: Update window surface regions when the window is shaped.

This commit is contained in:
Rémi Bernon 2024-04-26 14:35:50 +02:00 committed by Alexandre Julliard
parent 046d55ab6a
commit ee8f0b6c5d

View File

@ -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;
}
}