mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[0.4.14][NTUSER] Fix Toolbar re-painting when Rebar parent has been altered (#4380) CORE-12342
Fixes: CORE-12342 '7zip is not drawing some of its controls until forcing a repaint' CORE-8734 '[WIN32SS] dxdiag exposes a tabsheet redraw problem' ... and many other duplicates in JIRA. 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 == gitf1a7f30887
. And therefore intentionally excludes parts of SVN r27403 == gite2651a0dbc
. 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 fix picked from 0.4.15-dev-3885-gea7c14919e
This commit is contained in:
parent
9ffb1e5c21
commit
90505bc2e5
|
@ -2099,10 +2099,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.
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue