Commit 1bc2caad authored by Alexandre Julliard's avatar Alexandre Julliard

Don't check children of minimized windows in get_update_region.

parent 89075fb4
...@@ -1627,7 +1627,8 @@ DECL_HANDLER(get_update_region) ...@@ -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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment