From de044db6d45e878fdd1077176675305e71375d6f Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 3 Jun 2022 10:41:59 +0800 Subject: [PATCH] remove from ui only --- src/platform/linux.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platform/linux.rs b/src/platform/linux.rs index 7b21274c1..efd6476b6 100644 --- a/src/platform/linux.rs +++ b/src/platform/linux.rs @@ -405,7 +405,6 @@ pub fn is_login_wayland() -> bool { } } -/* pub fn fix_login_wayland() { let mut file = "/etc/gdm3/custom.conf".to_owned(); if !std::path::Path::new(&file).exists() { @@ -431,7 +430,6 @@ pub fn fix_login_wayland() { } } } -*/ pub fn current_is_wayland() -> bool { let dtype = get_display_server();