fix: keep macOS main window titlebar opaque

This commit is contained in:
dijunkun
2026-07-28 14:42:06 +08:00
parent cee249a25b
commit 708c39bb99
3 changed files with 17 additions and 5 deletions
+4 -3
View File
@@ -8,9 +8,10 @@ namespace crossdesk {
// left-mouse-down event. Returns false when no suitable native event exists.
bool StartNativeWindowDrag();
// Hides the disabled native zoom button on CrossDesk's fixed-size main
// window. Returns true once the matching AppKit window has been configured.
bool HideDisabledMainWindowZoomButton();
// Normalizes the native title bar and hides the disabled zoom button on
// CrossDesk's fixed-size main window. Returns true once the matching AppKit
// window has been configured.
bool ConfigureMainWindowTitlebar();
// Configures live resize and replaces the stream window's native Space
// fullscreen action with an immediate, single-window fullscreen transition.