diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-04-30 23:45:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 23:45:20 +0200 |
| commit | 50e1bec85f8febdd78f50d94f140d07f9b34148d (patch) | |
| tree | ac8f53553ef3ca5dedb956a09442a23f762e0428 /src/managers/CursorManager.cpp | |
| parent | b8a204c21d6b36a5b3ccf4c125553c61a9fd6b90 (diff) | |
helpers: refactor class member vars (#10218)
Diffstat (limited to 'src/managers/CursorManager.cpp')
| -rw-r--r-- | src/managers/CursorManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/CursorManager.cpp b/src/managers/CursorManager.cpp index 9a949283..b7c2e4e2 100644 --- a/src/managers/CursorManager.cpp +++ b/src/managers/CursorManager.cpp @@ -291,8 +291,8 @@ void CCursorManager::updateTheme() { float highestScale = 1.0; for (auto const& m : g_pCompositor->m_monitors) { - if (m->scale > highestScale) - highestScale = m->scale; + if (m->m_scale > highestScale) + highestScale = m->m_scale; } m_fCursorScale = highestScale; @@ -308,7 +308,7 @@ void CCursorManager::updateTheme() { } for (auto const& m : g_pCompositor->m_monitors) { - m->forceFullFrames = 5; + m->m_forceFullFrames = 5; g_pCompositor->scheduleFrameForMonitor(m, Aquamarine::IOutput::AQ_SCHEDULE_CURSOR_SHAPE); } } |
