This commit is contained in:
rustdesk 2022-06-03 10:36:55 +08:00
parent ad22101067
commit e4fea4f187

View File

@ -438,7 +438,6 @@ pub fn current_is_wayland() -> bool {
return "wayland" == dtype && unsafe { UNMODIFIED }; return "wayland" == dtype && unsafe { UNMODIFIED };
} }
/*
pub fn modify_default_login() -> String { pub fn modify_default_login() -> String {
let dsession = std::env::var("DESKTOP_SESSION").unwrap(); let dsession = std::env::var("DESKTOP_SESSION").unwrap();
let user_name = std::env::var("USERNAME").unwrap(); let user_name = std::env::var("USERNAME").unwrap();
@ -505,7 +504,6 @@ pub fn modify_default_login() -> String {
} }
return "Fix failed! Please re-login with X server manually".to_owned(); return "Fix failed! Please re-login with X server manually".to_owned();
} }
*/
// to-do: test the other display manager // to-do: test the other display manager
fn _get_display_manager() -> String { fn _get_display_manager() -> String {