fix(cua): retain the mouse-movement event number for hover

This commit is contained in:
creatixchu committed 2026-10-13 11:14:03 +08:00
1 parent 4fbf4889f9
commit 4ff8889e06
1 file changed
+1 -1
@@ -34,7 +34,7 @@ final class WindowPointerInput {
try Self.validate(point, in: route)
let event = try mouseEvent(
source: Self.source(), route: route, screen: Self.screenPoint(point, in: route), local: point,
type: .mouseMoved, button: .left, clickState: 0, subtype: 3, group: Self.clickGroup()
type: .mouseMoved, button: .left, clickState: 0, subtype: 3, group: Self.clickGroup(), number: 2
)
try checkCancellation()
if useSystemPointer {