From 421ad4b0d97dc19d0fcec5e7383d6237caede018 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Tue, 22 Apr 2025 19:10:13 +0200 Subject: [PATCH] fix: update var names to match hl --- src/cursor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cursor.cpp b/src/cursor.cpp index 83235f6..4c28e57 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -216,7 +216,7 @@ SP CDynamicCursors::renderHardware(CPointerManager* pointer options.length = 3; options.scanout = true; options.cursor = true; - options.multigpu = state->monitor->output->getBackend()->preferredAllocator()->drmFD() != g_pCompositor->m_iDRMFD; + options.multigpu = state->monitor->output->getBackend()->preferredAllocator()->drmFD() != g_pCompositor->m_drmFD; // We do not set the format. If it's unset (DRM_FORMAT_INVALID) then the swapchain will pick for us, // but if it's set, we don't wanna change it. @@ -327,7 +327,7 @@ void CDynamicCursors::onCursorMoved(CPointerManager* pointers) { const auto CURSORBOX = pointers->getCursorBoxGlobal(); bool recalc = false; - for (auto& m : g_pCompositor->m_vMonitors) { + for (auto& m : g_pCompositor->m_monitors) { auto state = pointers->stateFor(m); state->box = pointers->getCursorBoxLogicalForMonitor(state->monitor.lock()); @@ -457,7 +457,7 @@ void CDynamicCursors::calculate(EModeUpdate type) { bool entered = false; - for (auto& m : g_pCompositor->m_vMonitors) { + for (auto& m : g_pCompositor->m_monitors) { auto state = g_pPointerManager->stateFor(m); if (state->entered) entered = true;