src/core/contexts/cocoawindowcontext.mm
@@ -382,12 +382,15 @@ AbstractWindowContext::virtual_hook(id, data); } void CocoaWindowContext::winIdChanged(QWindow *oldWindow, bool destroyed) { void CocoaWindowContext::winIdChanged(QWindow *oldWindow) { releaseWindowProxy(windowId); if (!m_windowHandle) { return; } windowId = m_windowHandle->winId(); ensureWindowProxy(windowId)->setSystemTitleBarVisible(false); cocoaWindowEventFilter = std::make_unique<CocoaWindowEventFilter>(this, this); return true; } }