Sine Striker
2023-12-28 a12bb8782bd02305466a29101a4c54d6ba9c6bfe
src/widgets/widgetwindowagent_win.cpp
@@ -110,8 +110,8 @@
            // When the window is inactive, there is a transparency bug in the top
            // border, and we need to extend the non-client area to the whole title
            // bar.
            QRect frame = ctx->windowAttribute(QStringLiteral("title-bar-rect")).toRect();
            QMargins margins{0, frame.top(), 0, 0};
            QRect frame = ctx->windowAttribute(QStringLiteral("window-rect")).toRect();
            QMargins margins{0, -frame.top(), 0, 0};
            ctx->setWindowAttribute(QStringLiteral("extra-margins"), QVariant::fromValue(margins));
        }