SineStriker
2023-12-22 a5d13e19dd7f6037e10b649c49805922ae5e0fa6
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;
    }
}