summaryrefslogtreecommitdiff
path: root/src/debug/HyprNotificationOverlay.cpp
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/debug/HyprNotificationOverlay.cpp
parent16aeb24bc1395b46d675ec3522ed452e487f5b69 (diff)
renderer/internal: stop using box pointers
in favor of const refs
Diffstat (limited to 'src/debug/HyprNotificationOverlay.cpp')
-rw-r--r--src/debug/HyprNotificationOverlay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/HyprNotificationOverlay.cpp b/src/debug/HyprNotificationOverlay.cpp
index 66c68d08..4081af84 100644
--- a/src/debug/HyprNotificationOverlay.cpp
+++ b/src/debug/HyprNotificationOverlay.cpp
@@ -26,7 +26,7 @@ CHyprNotificationOverlay::CHyprNotificationOverlay() {
if (m_vNotifications.size() == 0)
return;
- g_pHyprRenderer->damageBox(&m_bLastDamage);
+ g_pHyprRenderer->damageBox(m_bLastDamage);
});
m_pTexture = makeShared<CTexture>();
@@ -225,8 +225,8 @@ void CHyprNotificationOverlay::draw(PHLMONITOR pMonitor) {
CBox damage = drawNotifications(pMonitor);
- g_pHyprRenderer->damageBox(&damage);
- g_pHyprRenderer->damageBox(&m_bLastDamage);
+ g_pHyprRenderer->damageBox(damage);
+ g_pHyprRenderer->damageBox(m_bLastDamage);
g_pCompositor->scheduleFrameForMonitor(pMonitor);