mirror of
https://github.com/reactos/reactos.git
synced 2024-09-27 21:16:34 +00:00
[0.4.11][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
a72bbe54de
commit
0cb0ae6e6f
|
@ -2050,10 +2050,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);
|
||||
}
|
||||
REGION_Delete(DirtyRgn);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue