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/protocols/AlphaModifier.cpp | |
| parent | 16aeb24bc1395b46d675ec3522ed452e487f5b69 (diff) | |
renderer/internal: stop using box pointers
in favor of const refs
Diffstat (limited to 'src/protocols/AlphaModifier.cpp')
| -rw-r--r-- | src/protocols/AlphaModifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/AlphaModifier.cpp b/src/protocols/AlphaModifier.cpp index e8766405..60037632 100644 --- a/src/protocols/AlphaModifier.cpp +++ b/src/protocols/AlphaModifier.cpp @@ -38,7 +38,7 @@ void CAlphaModifier::setResource(SP<CWpAlphaModifierSurfaceV1> resource) { auto box = surface->getSurfaceBoxGlobal(); if (box.has_value()) - g_pHyprRenderer->damageBox(&*box); + g_pHyprRenderer->damageBox(*box); if (!m_pResource) PROTO::alphaModifier->destroyAlphaModifier(this); |
