mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 10:19:09 +08:00
fix send ctrl+alt+del
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
a642b8639a
commit
e097dfabf6
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user