Don't check children of minimized windows in get_update_region.

This commit is contained in:
Alexandre Julliard 2005-03-09 11:49:46 +00:00
parent 89075fb429
commit 1bc2caad02

View file

@ -1627,7 +1627,8 @@ DECL_HANDLER(get_update_region)
{ {
/* if window doesn't need any repaint, check the children */ /* if window doesn't need any repaint, check the children */
if (!(flags & UPDATE_NOCHILDREN) && if (!(flags & UPDATE_NOCHILDREN) &&
((flags & UPDATE_ALLCHILDREN) || (win->style & WS_CLIPCHILDREN))) ((flags & UPDATE_ALLCHILDREN) || (win->style & WS_CLIPCHILDREN)) &&
!(win->style & WS_MINIMIZE))
{ {
reply->flags = get_child_update_flags( win, flags, &win ); reply->flags = get_child_update_flags( win, flags, &win );
} }