mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-26 14:41:04 +03: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