From 3cc50cedaf5e74041608d403054d1fe6394596e6 Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Mon, 10 Jun 2019 15:33:31 +0200 Subject: [PATCH] [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; -- 2.17.1