fix(cursor): comments

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2026-09-13 16:52:29 +08:00
parent 777407e72e
commit 8869a440da
2 changed files with 80 additions and 10 deletions

View File

@@ -449,7 +449,10 @@ class InputModel {
final isPhysicalMouse = false.obs;
int _lastButtons = 0;
Offset lastMousePos = Offset.zero;
// Host position echoes may be absent; keep locally mapped input separately.
// Latest local pointer position mapped to absolute remote desktop coordinates.
// Used to select the native cursor's display scale in Linux All Displays mode,
// without waiting for a host position update. Keep it separate from the
// host-reported position used to paint the remote cursor.
final remotePointerPosition = Rxn<Offset>();
int _lastWheelTsUs = 0;