mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 04:51:28 +03:00
fix: web, reset cursor on disconn, back to main page (#9192)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -784,7 +784,7 @@ class InputModel {
|
||||
if (!isInputSourceFlutter) {
|
||||
bind.sessionEnterOrLeave(sessionId: sessionId, enter: enter);
|
||||
}
|
||||
if (enter) {
|
||||
if (!isWeb && enter) {
|
||||
bind.setCurSessionId(sessionId: sessionId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2183,6 +2183,7 @@ class CursorModel with ChangeNotifier {
|
||||
debugPrint("deleting cursor with key $k");
|
||||
deleteCustomCursor(k);
|
||||
}
|
||||
resetSystemCursor();
|
||||
}
|
||||
|
||||
trySetRemoteWindowCoords() {
|
||||
|
||||
Reference in New Issue
Block a user