summaryrefslogtreecommitdiff
path: root/src/render/decorations/CHyprDropShadowDecoration.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-01-26 15:05:34 +0000
committerVaxry <vaxry@vaxry.net>2025-01-26 15:05:34 +0000
commite9510115039e7ae9fcf2778e8455e7beed3424ea (patch)
tree1c1d313f51082ebeb096aa33e53efc490125c07d /src/render/decorations/CHyprDropShadowDecoration.hpp
parent16aeb24bc1395b46d675ec3522ed452e487f5b69 (diff)
renderer/internal: stop using box pointers
in favor of const refs
Diffstat (limited to 'src/render/decorations/CHyprDropShadowDecoration.hpp')
-rw-r--r--src/render/decorations/CHyprDropShadowDecoration.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/decorations/CHyprDropShadowDecoration.hpp b/src/render/decorations/CHyprDropShadowDecoration.hpp
index 93fa3d1a..3b1c67c5 100644
--- a/src/render/decorations/CHyprDropShadowDecoration.hpp
+++ b/src/render/decorations/CHyprDropShadowDecoration.hpp
@@ -36,7 +36,7 @@ class CHyprDropShadowDecoration : public IHyprWindowDecoration {
Vector2D m_vLastWindowPos;
Vector2D m_vLastWindowSize;
- void drawShadowInternal(CBox* box, int round, float roundingPower, int range, CHyprColor color, float a);
+ void drawShadowInternal(const CBox& box, int round, float roundingPower, int range, CHyprColor color, float a);
CBox m_bLastWindowBox = {0};
CBox m_bLastWindowBoxWithDecos = {0};