mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WIN32SS][NTUSER] Fix ScrollWindowEx SW_SCROLLCHILDREN (#2327)
Based on the patch of I_Kill_Bugs of JIRA user. CORE-16687, CORE-12114
This commit is contained in:
parent
ea8a6d6fb7
commit
9199c90328
1 changed files with 4 additions and 0 deletions
|
@ -385,6 +385,10 @@ IntScrollWindowEx(
|
|||
rcChild = Child->rcWindow;
|
||||
RECTL_vOffsetRect(&rcChild, -ClientOrigin.x, -ClientOrigin.y);
|
||||
|
||||
/* Adjust window positions */
|
||||
RECTL_vOffsetRect(&Child->rcWindow, dx, dy);
|
||||
RECTL_vOffsetRect(&Child->rcClient, dx, dy);
|
||||
|
||||
if (!prcScroll || RECTL_bIntersectRect(&rcDummy, &rcChild, &rcScroll))
|
||||
{
|
||||
UserRefObjectCo(Child, &WndRef);
|
||||
|
|
Loading…
Reference in a new issue