Merge pull request #2576 from fufesou/fix_ctrl_alt_del

fix send ctrl+alt+del
This commit is contained in:
RustDesk 2022-12-17 12:40:49 +08:00 committed by GitHub
commit 921c97eecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -766,12 +766,10 @@ impl<T: InvokeUiSession> Interface for Session<T> {
impl<T: InvokeUiSession> Session<T> {
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();
}
}