summaryrefslogtreecommitdiff
path: root/src/managers/CursorManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/CursorManager.cpp')
-rw-r--r--src/managers/CursorManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/CursorManager.cpp b/src/managers/CursorManager.cpp
index 1535734b..9a949283 100644
--- a/src/managers/CursorManager.cpp
+++ b/src/managers/CursorManager.cpp
@@ -290,7 +290,7 @@ void CCursorManager::updateTheme() {
static auto PUSEHYPRCURSOR = CConfigValue<Hyprlang::INT>("cursor:enable_hyprcursor");
float highestScale = 1.0;
- for (auto const& m : g_pCompositor->m_vMonitors) {
+ for (auto const& m : g_pCompositor->m_monitors) {
if (m->scale > highestScale)
highestScale = m->scale;
}
@@ -307,7 +307,7 @@ void CCursorManager::updateTheme() {
m_pHyprcursor->loadThemeStyle(m_sCurrentStyleInfo);
}
- for (auto const& m : g_pCompositor->m_vMonitors) {
+ for (auto const& m : g_pCompositor->m_monitors) {
m->forceFullFrames = 5;
g_pCompositor->scheduleFrameForMonitor(m, Aquamarine::IOutput::AQ_SCHEDULE_CURSOR_SHAPE);
}