diff --git a/src/cursor.cpp b/src/cursor.cpp index f284aff..408f0af 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -223,7 +223,7 @@ SP CDynamicCursors::renderHardware(CPointerManager* pointer options.length = 3; options.scanout = true; options.cursor = true; - options.multigpu = state->monitor->m_output->getBackend()->preferredAllocator()->drmFD() != g_pCompositor->m_drmFD; + options.multigpu = state->monitor->m_output->getBackend()->preferredAllocator()->drmFD() != g_pCompositor->m_drm.fd; // 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.