Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

add comments

fufesou315a2a695fd3
diff --git a/flutter/lib/common/widgets/remote_input.dart b/flutter/lib/common/widgets/remote_input.dart
index e2bb86e43..a07bffa47 100644
--- a/flutter/lib/common/widgets/remote_input.dart
+++ b/flutter/lib/common/widgets/remote_input.dart
@@ -93,6 +93,7 @@ class _RawTouchGestureDetectorRegionState
return;
}
if (handleTouch) {
+ // Desktop or mobile "Touch mode"
ffi.cursorModel.move(d.localPosition.dx, d.localPosition.dy);
inputModel.tapDown(MouseButtons.left);
}
@@ -113,6 +114,7 @@ class _RawTouchGestureDetectorRegionState
return;
}
if (!handleTouch) {
+ // Mobile, "Mouse mode"
inputModel.tap(MouseButtons.left);
}
}