Sine Striker
2023-12-26 953ebc40a8e26a388c454f7b05c598d5690840bc
src/widgets/widgetwindowagent_win.cpp
@@ -45,7 +45,7 @@
            ctx->setWindowAttribute(QStringLiteral("extra-margins"), defaultMargins);
            // Enable dark mode by default, otherwise the frame borders are white
            ctx->setWindowAttribute(QStringLiteral("dark-mode"), true);
            // ctx->setWindowAttribute(QStringLiteral("dark-mode"), true);
            ctx->installNativeEventFilter(this);
            ctx->installSharedEventFilter(this);
@@ -148,7 +148,7 @@
            // ignore it.
            if (event->type() == QEvent::Expose) {
                auto ee = static_cast<QExposeEvent *>(event);
                if (window->isExposed() && !ee->region().isNull()) {
                if (window->isExposed() && isNormalWindow() && !ee->region().isNull()) {
                    resumeWindowEvent(window, event);
                    return true;
                }