From e097dfabf697e3ce2ec1383aedf05709244e2bf0 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sat, 17 Dec 2022 11:56:58 +0800 Subject: [PATCH] fix send ctrl+alt+del Signed-off-by: fufesou --- src/ui_session_interface.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui_session_interface.rs b/src/ui_session_interface.rs index 0cf2f2e2d..f38cb6ad3 100644 --- a/src/ui_session_interface.rs +++ b/src/ui_session_interface.rs @@ -766,12 +766,10 @@ impl Interface for Session { impl Session { pub fn lock_screen(&self) { - log::info!("Sending key even"); crate::keyboard::client::lock_screen(); } pub fn ctrl_alt_del(&self) { - log::info!("Sending key even"); - crate::keyboard::client::lock_screen(); + crate::keyboard::client::ctrl_alt_del(); } }