某莔
2023-12-28 96552dfcb531053f4a331c2c80ecf5d8cb2aaf36
src/core/contexts/cocoawindowcontext_p.h
@@ -24,12 +24,14 @@
        void virtual_hook(int id, void *data) override;
    protected:
        void winIdChanged(QWindow *oldWindow, bool isDestroyed) override;
        void winIdChanged() override;
        bool windowAttributeChanged(const QString &key, const QVariant &attribute,
                                    const QVariant &oldAttribute) override;
    protected:
        WId windowId = 0;
        std::unique_ptr<QObject> cocoaWindowEventFilter;
        std::unique_ptr<SharedEventFilter> cocoaWindowEventFilter;
    };
}