From 7a70d785a49da60e4f68eb6ba4381a83706683cc Mon Sep 17 00:00:00 2001 From: nerix Date: Sat, 10 Feb 2024 14:29:52 +0100 Subject: [PATCH] revert: uncomment NCCALCSIZE adjustment (#5166) --- CHANGELOG.md | 2 +- src/widgets/BaseWindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41675ef5..394596b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,7 +79,7 @@ - Bugfix: Fixed splits not retaining their focus after minimizing. (#5080) - Bugfix: Fixed _Copy message_ copying the channel name in global search. (#5106) - Bugfix: Reply contexts now use the color of the replied-to message. (#5145) -- Bugfix: Fixed top-level window getting stuck after opening settings. (#5161) +- Bugfix: Fixed top-level window getting stuck after opening settings. (#5161, #5166) - Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978) - Dev: Change clang-format from v14 to v16. (#4929) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp index 92f72008..c77ab621 100644 --- a/src/widgets/BaseWindow.cpp +++ b/src/widgets/BaseWindow.cpp @@ -913,8 +913,8 @@ bool BaseWindow::handleNCCALCSIZE(MSG *msg, long *result) auto *ncp = reinterpret_cast(msg->lParam); if (ncp) { - // ncp->lppos->flags |= SWP_NOREDRAW; - // ncp->rgrc[0].top -= 1; + ncp->lppos->flags |= SWP_NOREDRAW; + ncp->rgrc[0].top -= 1; } }