Skip to content

v1.2.0

Choose a tag to compare

@raldhafiri raldhafiri released this 29 Jun 11:07
· 2 commits to main since this release
21dbaef

Published to pub.dev: https://pub.dev/packages/native_mouse_cursor/versions/1.2.0

  • InfiniteDragRegion — infinite drag in one widget; picks the right model per platform automatically (desktop warp, web Pointer Lock incl. Firefox).
  • Infinite drag now works on Firefox (click-to-engage Pointer Lock).
  • Wayland warps the visible cursor via the staging wp_pointer_warp_v1 protocol (GNOME 49+, Plasma 6.5+, Hyprland 0.51+, wlroots 0.21+), falling back to the lock path on older compositors.
  • The custom cursor now stays put across edge warps on all desktop platforms (incl. a macOS re-assert after CGWarpMouseCursorPosition).
  • Newly public: DragCursorOverlay, NativeMouseCursor.wrapOverlayCursor, InfiniteDragController.wrapPosition.
  • Implementation libraries moved under lib/src/ (cleaner generated docs).
  • Additive — no breaking changes.