Sine Striker
2023-12-25 29901fc2a97eedd3c914f807d1819c9ea7e69973
src/core/contexts/win32windowcontext_p.h
@@ -35,12 +35,6 @@
        QString key() const override;
        void virtual_hook(int id, void *data) override;
        bool needBorderPainter() const;
        int borderThickness() const;
        void resume(const QByteArray &eventType, void *message,
                    QT_NATIVE_EVENT_RESULT_TYPE *result) override;
    protected:
        void winIdChanged() override;
        bool windowAttributeChanged(const QString &key, const QVariant &attribute,
@@ -65,6 +59,11 @@
        bool nonClientCalcSizeHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam,
                                      LRESULT *result);
    public:
        bool needBorderPainter() const;
        int borderThickness() const;
    protected:
        WId windowId = 0;
@@ -76,6 +75,8 @@
        bool mouseLeaveBlocked = false;
        bool centered = false;
        bool hasExtraMargins = false;
    };
}