diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-01-26 15:05:34 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-01-26 15:05:34 +0000 |
| commit | e9510115039e7ae9fcf2778e8455e7beed3424ea (patch) | |
| tree | 1c1d313f51082ebeb096aa33e53efc490125c07d /src/render/decorations/CHyprGroupBarDecoration.cpp | |
| parent | 16aeb24bc1395b46d675ec3522ed452e487f5b69 (diff) | |
renderer/internal: stop using box pointers
in favor of const refs
Diffstat (limited to 'src/render/decorations/CHyprGroupBarDecoration.cpp')
| -rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index 7cef21b8..4e7c3cbc 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -94,7 +94,7 @@ void CHyprGroupBarDecoration::updateWindow(PHLWINDOW pWindow) { void CHyprGroupBarDecoration::damageEntire() { auto box = assignedBoxGlobal(); box.translate(m_pWindow->m_vFloatingOffset); - g_pHyprRenderer->damageBox(&box); + g_pHyprRenderer->damageBox(box); } void CHyprGroupBarDecoration::draw(PHLMONITOR pMonitor, float const& a) { |
