Zhao Yuhang
2023-12-18 6500aae0d32383a988aff9fb680d58a851012a14
src/core/contexts/cocoawindowcontext.mm
@@ -383,9 +383,11 @@
    }
    void CocoaWindowContext::winIdChanged(QWindow *oldWindow) {
        if (windowId) {
            releaseWindowProxy(windowId);
        releaseWindowProxy(windowId);
        if (!m_windowHandle) {
            return;
        }
        windowId = m_windowHandle->winId();
        ensureWindowProxy(windowId)->setSystemTitleBarVisible(false);
        cocoaWindowEventFilter = std::make_unique<CocoaWindowEventFilter>(this, this);