SineStriker
2023-12-29 76924a335f40a0c3cc13805b4cb9429c336d33ca
src/core/contexts/abstractwindowcontext_p.h
@@ -50,8 +50,8 @@
        bool setTitleBar(QObject *obj);
#ifdef Q_OS_MAC
        inline QRect systemButtonArea() const;
        void setSystemButtonArea(const QRect &rect);
        inline ScreenRectCallback systemButtonAreaCallback() const;
        void setSystemButtonAreaCallback(const ScreenRectCallback &callback);
#endif
        bool isInSystemButtons(const QPoint &pos, WindowAgentBase::SystemButton *button) const;
@@ -88,7 +88,7 @@
        QSet<const QObject *> m_hitTestVisibleItems;
#ifdef Q_OS_MAC
        QRect m_systemButtonArea;
        ScreenRectCallback m_systemButtonAreaCallback;
#endif
        QObject *m_titleBar{};
@@ -126,8 +126,8 @@
    }
#ifdef Q_OS_MAC
    inline QRect AbstractWindowContext::systemButtonArea() const {
        return m_systemButtonArea;
    inline ScreenRectCallback AbstractWindowContext::systemButtonAreaCallback() const {
        return m_systemButtonAreaCallback;
    }
#endif