Zhao Yuhang
2023-12-15 dddf96c011723a12b11acc2980c10eb370961021
src/core/contexts/abstractwindowcontext_p.h
@@ -25,6 +25,7 @@
        inline QObject *host() const;
        inline QWindow *window() const;
        inline WindowItemDelegate *delegate() const;
        inline bool isHitTestVisible(const QObject *obj) const;
        bool setHitTestVisible(const QObject *obj, bool visible);
@@ -79,6 +80,10 @@
        return m_windowHandle;
    }
    inline WindowItemDelegate *AbstractWindowContext::delegate() const {
        return m_delegate.get();
    }
    inline bool AbstractWindowContext::isHitTestVisible(const QObject *obj) const {
        return m_hitTestVisibleItems.contains(obj);
    }