Sine Striker
2023-12-11 8c403d5dd03418febd67d50c6d9094a61c036f9b
src/core/contexts/abstractwindowcontext.cpp
@@ -88,7 +88,9 @@
        return true;
    }
    void AbstractWindowContext::showSystemMenu(const QPoint &pos){Q_UNUSED(pos)}
    void AbstractWindowContext::showSystemMenu(const QPoint &pos) {
        virtual_hook(ShowSystemMenuHook, &const_cast<QPoint &>(pos));
    }
    QRegion AbstractWindowContext::hitTestShape() const {
        if (hitTestVisibleShapeDirty) {
@@ -162,8 +164,17 @@
        return true;
    }
    QObject *AbstractWindowContext::target() const {
        return m_host;
    QString AbstractWindowContext::key() const {
        return {};
    }
    void AbstractWindowContext::virtual_hook(int id, void *data) {
        switch (id) {
            case CentralizeHook:
                break;
            default:
                break;
        }
    }
}