summaryrefslogtreecommitdiff
path: root/src/protocols/AlphaModifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/AlphaModifier.cpp')
-rw-r--r--src/protocols/AlphaModifier.cpp2
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);