revert: uncomment NCCALCSIZE adjustment (#5166)

This commit is contained in:
nerix
2024-02-10 14:29:52 +01:00
committed by GitHub
parent edcd0b8010
commit 7a70d785a4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -913,8 +913,8 @@ bool BaseWindow::handleNCCALCSIZE(MSG *msg, long *result)
auto *ncp = reinterpret_cast<NCCALCSIZE_PARAMS *>(msg->lParam);
if (ncp)
{
// ncp->lppos->flags |= SWP_NOREDRAW;
// ncp->rgrc[0].top -= 1;
ncp->lppos->flags |= SWP_NOREDRAW;
ncp->rgrc[0].top -= 1;
}
}