Sine Striker
2023-12-25 29901fc2a97eedd3c914f807d1819c9ea7e69973
src/core/contexts/win32windowcontext_p.h
@@ -35,11 +35,10 @@
        QString key() const override;
        void virtual_hook(int id, void *data) override;
        bool needBorderPainter() const;
        int borderThickness() const;
    protected:
        void winIdChanged(QWindow *oldWindow, bool isDestroyed) override;
        void winIdChanged() override;
        bool windowAttributeChanged(const QString &key, const QVariant &attribute,
                                    const QVariant &oldAttribute) override;
    public:
        bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);
@@ -60,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;
@@ -71,6 +75,8 @@
        bool mouseLeaveBlocked = false;
        bool centered = false;
        bool hasExtraMargins = false;
    };
}