diff --git a/src/cursor.cpp b/src/cursor.cpp index 633c214..d66013e 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -84,13 +84,16 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP pMo if (!texture) return; - box.scale(pMonitor->scale); box.w *= zoom; box.h *= zoom; if (box.intersection(CBox{{}, {pMonitor->vecSize}}).empty()) return; + box.scale(pMonitor->scale); + box.x = std::round(box.x); + box.y = std::round(box.y); + // we rotate the cursor by our calculated amount box.rot = resultShown.rotation;