mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[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 == gitf1a7f30. And therefore intentionally excludes parts of SVN r27403 == gite2651a0. 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:
@@ -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.
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user