fix send ctrl+alt+del

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2022-12-17 11:56:58 +08:00
parent a642b8639a
commit e097dfabf6

View File

@ -766,12 +766,10 @@ impl<T: InvokeUiSession> Interface for Session<T> {
impl<T: InvokeUiSession> Session<T> { impl<T: InvokeUiSession> Session<T> {
pub fn lock_screen(&self) { pub fn lock_screen(&self) {
log::info!("Sending key even");
crate::keyboard::client::lock_screen(); crate::keyboard::client::lock_screen();
} }
pub fn ctrl_alt_del(&self) { pub fn ctrl_alt_del(&self) {
log::info!("Sending key even"); crate::keyboard::client::ctrl_alt_del();
crate::keyboard::client::lock_screen();
} }
} }