mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix dialog res bug ; add desktop restart remote device
This commit is contained in:
@@ -696,8 +696,9 @@ pub fn session_send_mouse(id: String, msg: String) {
|
||||
}
|
||||
|
||||
pub fn session_restart_remote_device(id: String) {
|
||||
// TODO
|
||||
// Session::restart_remote_device();
|
||||
if let Some(session) = SESSIONS.read().unwrap().get(&id) {
|
||||
session.restart_remote_device();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn main_set_home_dir(home: String) {
|
||||
|
||||
Reference in New Issue
Block a user