remove from ui only

This commit is contained in:
rustdesk 2022-06-03 10:41:59 +08:00
parent eec06141f7
commit de044db6d4

View File

@ -405,7 +405,6 @@ pub fn is_login_wayland() -> bool {
} }
} }
/*
pub fn fix_login_wayland() { pub fn fix_login_wayland() {
let mut file = "/etc/gdm3/custom.conf".to_owned(); let mut file = "/etc/gdm3/custom.conf".to_owned();
if !std::path::Path::new(&file).exists() { if !std::path::Path::new(&file).exists() {
@ -431,7 +430,6 @@ pub fn fix_login_wayland() {
} }
} }
} }
*/
pub fn current_is_wayland() -> bool { pub fn current_is_wayland() -> bool {
let dtype = get_display_server(); let dtype = get_display_server();