summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.cpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-04-22 15:23:29 +0200
committerGitHub <noreply@github.com>2025-04-22 15:23:29 +0200
commit241a4935a244f403fa7108259075b04c81ed258f (patch)
tree50cc20b69c522c2be5396417931f799cac87138d /src/hyprerror/HyprError.cpp
parent3577a6be31fa26539b4088ea07aa2221f84b132e (diff)
compositor: refactor class member vars (#10141)
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
-rw-r--r--src/hyprerror/HyprError.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index 75b04286..72036ff8 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -18,7 +18,7 @@ CHyprError::CHyprError() {
if (!m_bIsCreated)
return;
- g_pHyprRenderer->damageMonitor(g_pCompositor->m_pLastMonitor.lock());
+ g_pHyprRenderer->damageMonitor(g_pCompositor->m_lastMonitor.lock());
m_bMonitorChanged = true;
});
@@ -47,7 +47,7 @@ void CHyprError::createQueued() {
m_fFadeOpacity->setValueAndWarp(0.f);
*m_fFadeOpacity = 1.f;
- const auto PMONITOR = g_pCompositor->m_vMonitors.front();
+ const auto PMONITOR = g_pCompositor->m_monitors.front();
const auto SCALE = PMONITOR->scale;
@@ -182,7 +182,7 @@ void CHyprError::draw() {
m_bIsCreated = false;
m_szQueued = "";
- for (auto& m : g_pCompositor->m_vMonitors) {
+ for (auto& m : g_pCompositor->m_monitors) {
g_pHyprRenderer->arrangeLayersForMonitor(m->ID);
}