Merge branch 'master' into video_queue

This commit is contained in:
RustDesk 2023-03-30 18:58:23 +08:00 committed by GitHub
commit bbaecb6b7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 737 additions and 531 deletions

View file

@ -1193,7 +1193,9 @@ fn is_function_key(ck: &EnumOrUnknown<ControlKey>) -> bool {
});
res = true;
} else if ck.value() == ControlKey::LockScreen.value() {
lock_screen_2();
std::thread::spawn(|| {
lock_screen_2();
});
res = true;
}
return res;