SineStriker
2023-12-11 fd8aca4a20f52f696aa239ead1baa20cea5879f6
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;
        }
    }
}