Zhao Yuhang
2023-12-17 2f8c059ea4a942064c38044c28539e37cd6e0fbc
src/core/contexts/win32windowcontext.cpp
@@ -1549,7 +1549,7 @@
                // we don't repaint it. This exception disappears if we add SWP_NOCOPYBITS flag.
                // But I don't know what caused the problem, or why this would solve it.
                const auto windowPos = reinterpret_cast<LPWINDOWPOS>(lParam);
                if ((windowPos->flags & SWP_FRAMECHANGED) && (windowPos->flags & SWP_NOSIZE)) {
                if (windowPos->flags == 0x37) {
                    windowPos->flags |= SWP_NOCOPYBITS;
                }
                break;