SineStriker
2023-12-27 2f2ee6571e9ce784db0488ade60816f09bd7448c
src/core/style/styleagent_win.cpp
@@ -30,9 +30,7 @@
                        return true;
                    case WM_SETTINGCHANGE: {
                        if (!msg->wParam && msg->lParam &&
                            std::wcscmp(reinterpret_cast<LPCWSTR>(msg->lParam), L"ImmersiveColorSet") ==
                            0) {
                        if (isImmersiveColorSetChange(msg->wParam, msg->lParam)) {
                            return true;
                        }
                        break;
@@ -55,10 +53,7 @@
                    }
                }();
                for (auto &&ap : std::as_const(*g_styleAgentSet())) {
                    if (ap->systemTheme != theme) {
                        ap->systemTheme = theme;
                        ap->notifyThemeChanged(theme);
                    }
                    ap->notifyThemeChanged(theme);
                }
            }