fix: stop using box ptrs like in hl

see

e951011503
This commit is contained in:
littleblack111 2025-01-27 16:15:30 +08:00
commit 674d743416
Failed to generate hash of commit

View file

@ -164,7 +164,7 @@ void CDynamicCursors::damageSoftware(CPointerManager* pointers) {
continue; continue;
if ((mw->softwareLocks > 0 || mw->hardwareFailed || *PNOHW) && b.overlaps({mw->monitor->vecPosition, mw->monitor->vecSize})) { if ((mw->softwareLocks > 0 || mw->hardwareFailed || *PNOHW) && b.overlaps({mw->monitor->vecPosition, mw->monitor->vecSize})) {
g_pHyprRenderer->damageBox(&b, mw->monitor->shouldSkipScheduleFrameOnMouseEvent()); g_pHyprRenderer->damageBox(b, mw->monitor->shouldSkipScheduleFrameOnMouseEvent());
break; break;
} }
} }