[WIN32SS][NTUSER] Addendum to 0.4.12-dev-956-g0197c4f CORE-15893
authorJoachim Henze <Joachim.Henze@reactos.org>
Mon, 10 Jun 2019 13:33:31 +0000 (15:33 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Mon, 10 Jun 2019 13:33:31 +0000 (15:33 +0200)
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

index 0eddff5..dba7738 100644 (file)
@@ -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;