https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3cc50cedaf5e74041608d…
commit 3cc50cedaf5e74041608d403054d1fe6394596e6
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Mon Jun 10 15:33:31 2019 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Mon Jun 10 15:33:31 2019 +0200
[WIN32SS][NTUSER] Addendum to 0.4.12-dev-956-g0197c4f CORE-15893
Aims PixelPerfection for a regression that was introduced by
0.4.12-dev-954-g
1f619b27814f3bbf9673754a69bcae50c89fed19
and then improved already by
0.4.12-dev-956-g
0197c4f875d3332dbc4656a6360e3c7e9def2ed5
The tweaking got ack of Jim Tabor. Test results:
https://reactos.org/testman/compare.php?ids=68026,68029
---
win32ss/user/ntuser/winpos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c
index 0eddff51cc6..dba7738c3b3 100644
--- a/win32ss/user/ntuser/winpos.c
+++ b/win32ss/user/ntuser/winpos.c
@@ -960,7 +960,7 @@ co_WinPosGetMinMaxInfo(PWND Window, POINT* MaxSize, POINT* MaxPos,
// Handle special case while maximized. CORE-15893
if ((adjustedStyle & WS_THICKFRAME) && !(adjustedStyle & WS_CHILD)
&& !(adjustedStyle & WS_MINIMIZE))
- adjust += 2;
+ adjust += 1;
xinc = yinc = adjust;