Sine Striker
2023-12-07 09287f3d9e9e88271de2bfd5388dae5a53e8c6f5
src/core/contexts/abstractwindowcontext_p.h
@@ -20,7 +20,7 @@
        ~AbstractWindowContext() override;
    public:
        virtual bool setup(QObject *host, WindowItemDelegate *delegate);
        bool setup(QObject *host, WindowItemDelegate *delegate);
        inline QObject *host() const;
        inline QWindow *window() const;
@@ -42,6 +42,10 @@
        bool isInTitleBarDraggableArea(const QPoint &pos) const;
    protected:
        virtual bool setupHost() = 0;
        virtual bool hostEventFilter(QEvent *event);
    protected:
        QObject *m_host;
        std::unique_ptr<WindowItemDelegate> m_delegate;
        QWindow *m_windowHandle;