mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-31 17:11:02 +03:00
fix missing window focus service on windows/macos (#9824)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -111,6 +111,8 @@ pub fn new() -> ServerPtr {
|
|||||||
// wayland does not support multiple displays currently
|
// wayland does not support multiple displays currently
|
||||||
server.add_service(Box::new(input_service::new_window_focus()));
|
server.add_service(Box::new(input_service::new_window_focus()));
|
||||||
}
|
}
|
||||||
|
#[cfg(not(target_os = "linux"))]
|
||||||
|
server.add_service(Box::new(input_service::new_window_focus()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Arc::new(RwLock::new(server))
|
Arc::new(RwLock::new(server))
|
||||||
|
|||||||
Reference in New Issue
Block a user