| | |
| | | // Copyright (C) 2023-2024 Stdware Collections |
| | | // Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) |
| | | // Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) |
| | | // SPDX-License-Identifier: Apache-2.0 |
| | | |
| | | #include "cocoawindowcontext_p.h" |
| | |
| | | |
| | | static inline void releaseWindowProxy(const WId windowId) { |
| | | if (auto proxy = g_proxyList->take(windowId)) { |
| | | proxy->setSystemTitleBarVisible(true); |
| | | // TODO: Determine if the window is valid |
| | | |
| | | // The window has been destroyed |
| | | // proxy->setSystemTitleBarVisible(true); |
| | | delete proxy; |
| | | } else { |
| | | return; |