Sine Striker
2023-12-19 ed5f9693b3cd7ddcdc746c4bb65dcd9cf7a8268b
src/core/contexts/abstractwindowcontext.cpp
@@ -23,6 +23,21 @@
        }
    }
    void AbstractWindowContext::setWindowAttribute(const QString &key, const QVariant &var) {
        auto it = m_windowAttributes.find(key);
        if (it.value() == var)
            return;
        auto newVar = var;
        auto oldVar = it.value();
        void *a[] = {
            &const_cast<QString &>(key),
            &newVar,
            &oldVar,
        };
        virtual_hook(WindowAttributeChangedHook, a);
    }
    bool AbstractWindowContext::setHitTestVisible(const QObject *obj, bool visible) {
        Q_ASSERT(obj);
        if (!obj) {