Sine Striker
2023-12-23 fee0c64a8f8d6237f94457b608cc09614514f9b5
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;
    }
}