From 46285db399f75154ad6c451e12f2cae2e59ace25 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 24 12月 2023 23:52:03 +0800
Subject: [PATCH] Use brilliant workaround to show Windows 10 top border

---
 src/core/style/styleagent_win.cpp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/core/style/styleagent_win.cpp b/src/core/style/styleagent_win.cpp
index bee647a..c4e4e96 100644
--- a/src/core/style/styleagent_win.cpp
+++ b/src/core/style/styleagent_win.cpp
@@ -55,10 +55,7 @@
                     }
                 }();
                 for (auto &&ap : std::as_const(*g_styleAgentSet())) {
-                    if (ap->systemTheme != theme) {
-                        ap->systemTheme = theme;
-                        ap->notifyThemeChanged(theme);
-                    }
+                    ap->notifyThemeChanged(theme);
                 }
             }
 

--
Gitblit v1.9.1