[NTUSER] Fix Toolbar re-painting when Rebar parent has been altered (#4380) CORE-12342

If a Rebar window is altered by calling either ShowWindow() or UpdateWindow()
then we were only updating the parent and omitting their children windows.

This is closer to the behavior of the very very old SVN r27394 == git f1a7f30 .
And therefore intentionally excludes parts of SVN r27403 == git e2651a0 .

The bots have no complaints about it:
KVM https://reactos.org/testman/compare.php?ids=81266,81290
VBox https://reactos.org/testman/compare.php?ids=81267,81291
This commit is contained in:
Julio Carchi 2022-03-04 13:40:57 -05:00 committed by GitHub
parent 6ba810c08e
commit ea7c14919e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2103,10 +2103,7 @@ co_WinPosSetWindowPos(
IntInvalidateWindows( Parent, DirtyRgn, RDW_ERASE | RDW_INVALIDATE);
co_IntPaintWindows(Parent, RDW_NOCHILDREN, FALSE);
}
else
{
IntInvalidateWindows( Window, DirtyRgn, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
}
IntInvalidateWindows(Window, DirtyRgn, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
}
else if ( RgnType != ERROR && RgnType == NULLREGION ) // Must be the same. See CORE-7166 & CORE-15934, NC HACK fix.
{