Skip to content

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

fix: keyboard input, mulit windows (#9189)

fufesou55de573a0162
diff --git a/flutter/lib/models/input_model.dart b/flutter/lib/models/input_model.dart
index 4cdbf88e5..fd1beb6b5 100644
--- a/flutter/lib/models/input_model.dart
+++ b/flutter/lib/models/input_model.dart
@@ -784,6 +784,9 @@ class InputModel {
if (!isInputSourceFlutter) {
bind.sessionEnterOrLeave(sessionId: sessionId, enter: enter);
}
+ if (enter) {
+ bind.setCurSessionId(sessionId: sessionId);
+ }
}
/// Send mouse movement event with distance in [x] and [y].