https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9199c90328e051f2f2930…
commit 9199c90328e051f2f2930de1f74aff9d38aaa76c
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Feb 11 20:59:14 2020 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Feb 11 20:59:14 2020 +0900
[WIN32SS][NTUSER] Fix ScrollWindowEx SW_SCROLLCHILDREN (#2327)
Based on the patch of I_Kill_Bugs of JIRA user. CORE-16687, CORE-12114
---
win32ss/user/ntuser/scrollex.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/win32ss/user/ntuser/scrollex.c b/win32ss/user/ntuser/scrollex.c
index c344cec9475..82f248ec367 100644
--- a/win32ss/user/ntuser/scrollex.c
+++ b/win32ss/user/ntuser/scrollex.c
@@ -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);