Sine Striker
2023-12-26 1740ed5e0e765ebd8676733243eb3eaa81f95df1
src/core/contexts/cocoawindowcontext.mm
@@ -400,4 +400,17 @@
        cocoaWindowEventFilter = std::make_unique<CocoaWindowEventFilter>(this, this);
    }
    bool CocoaWindowContext::windowAttributeChanged(const QString &key, const QVariant &attribute,
                                                    const QVariant &oldAttribute) {
        if (key == QStringLiteral("no-system-buttons")) {
            if (attribute.toBool()) {
                // TODO: set off
            } else {
                // TODO: set on
            }
            return true;
        }
        return false;
    }
}