From 469c975a708ed86c834b59ed751a4548c693a7b9 Mon Sep 17 00:00:00 2001
From: 李威 wei.li <108964761+liwey1985@users.noreply.github.com>
Date: 周一, 21 4月 2025 15:34:54 +0800
Subject: [PATCH] Fix NSWindowProxy::setSystemButtonVisible not taking effect (#175)

---
 src/core/windowagentbase.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp
index 69328d9..6b68cee 100644
--- a/src/core/windowagentbase.cpp
+++ b/src/core/windowagentbase.cpp
@@ -99,6 +99,10 @@
             \li \c extra-margins: Specify a margin value to change the \c dwm extended area
                    geometry, you shouldn't change this attribute because it may break the
                    internal state.
+            \li \c border-thickness: Returns the system border thickness. (Readonly)
+            \li \c title-bar-height: Returns the system title bar height, some system features may
+                   be related to this property so that it is recommended to set the custom title bar
+                   height to this value. (Readonly)
 
         On macOS,
             \li \c no-system-buttons: Specify a boolean value to set the system buttons'

--
Gitblit v1.9.1