mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-20 00:23:22 +02:00
fix: update var names to match hl
This commit is contained in:
parent
b38cb2d6ab
commit
421ad4b0d9
1 changed files with 3 additions and 3 deletions
|
@ -216,7 +216,7 @@ SP<Aquamarine::IBuffer> 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue