diff --git a/hyprpm.toml b/hyprpm.toml index 5840fbd..af3aff0 100644 --- a/hyprpm.toml +++ b/hyprpm.toml @@ -17,6 +17,7 @@ commit_pins = [ ["04ac46c54357278fc68f0a95d26347ea0db99496", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.0 ["75dff7205f6d2bd437abfb4196f700abee92581a", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.1 ["882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.2 + ["5ee35f914f921e5696030698e74fb5566a804768", "9f40dc905e5b7e00f0c00956a5c2b007b26c50c2"], # v0.48.0 ] [dynamic-cursors] diff --git a/src/cursor.cpp b/src/cursor.cpp index a997790..471c1d1 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -128,6 +128,7 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP pMo CCursorPassElement::SRenderData data; data.tex = texture; data.box = box; + data.hotspot = pointers->currentCursorImage.hotspot * state->monitor->scale * zoom; data.nearest = nearest; data.stretchAngle = resultShown.stretch.angle; @@ -135,9 +136,6 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP pMo g_pHyprRenderer->m_sRenderPass.add(makeShared(data)); - pointers->currentCursorImage.waitTimeline.reset(); - pointers->currentCursorImage.waitPoint = 0; - if (pointers->currentCursorImage.surface) pointers->currentCursorImage.surface->resource()->frame(now); }