mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-18 07:43:01 +08:00
Merge pull request #2576 from fufesou/fix_ctrl_alt_del
fix send ctrl+alt+del
This commit is contained in:
commit
921c97eecc
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user