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/shared/qwkwindowsextra_p.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/core/shared/qwkwindowsextra_p.h b/src/core/shared/qwkwindowsextra_p.h index 3bd086e..a173be9 100644 --- a/src/core/shared/qwkwindowsextra_p.h +++ b/src/core/shared/qwkwindowsextra_p.h @@ -51,6 +51,7 @@ extern "C" { UINT WINAPI GetDpiForWindow(HWND); int WINAPI GetSystemMetricsForDpi(int, UINT); + BOOL WINAPI AdjustWindowRectExForDpi(LPRECT, DWORD, BOOL, DWORD, UINT); HRESULT WINAPI GetDpiForMonitor(HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *); HRESULT WINAPI DwmFlush(); HRESULT WINAPI DwmIsCompositionEnabled(BOOL*); -- Gitblit v1.9.1