mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
switch sides: use ipc to pass msg from ui to server
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -366,7 +366,7 @@ impl Connection {
|
||||
log::error!("Failed to start portable service from cm:{:?}", e);
|
||||
}
|
||||
}
|
||||
ipc::Data::SwitchBack => {
|
||||
ipc::Data::SwitchSidesBack => {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_switch_back(SwitchBack::default());
|
||||
let mut msg = Message::new();
|
||||
@@ -1796,7 +1796,6 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "flutter")]
|
||||
pub fn insert_switch_sides_uuid(id: String, uuid: uuid::Uuid) {
|
||||
SWITCH_SIDES_UUID
|
||||
.lock()
|
||||
|
||||
Reference in New Issue
Block a user