Skip to content

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

fix: android, mouse mode, right menu, unexpected click (#10330)

fufesoue9c5e0d26b10
diff --git a/flutter/lib/common/widgets/remote_input.dart b/flutter/lib/common/widgets/remote_input.dart
index c31350b04..6eb9b0594 100644
--- a/flutter/lib/common/widgets/remote_input.dart
+++ b/flutter/lib/common/widgets/remote_input.dart
@@ -339,7 +339,9 @@ class _RawTouchGestureDetectorRegionState
if (isDesktop || isWebDesktop) {
ffi.cursorModel.clearRemoteWindowCoords();
}
- await inputModel.sendMouse('up', MouseButtons.left);
+ if (handleTouch) {
+ await inputModel.sendMouse('up', MouseButtons.left);
+ }
}
// scale + pan event