mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-14 06:45:12 +00:00
1 parent
8f998771c9
commit
a1c4b08535
3 files changed
+102
-23
No files matched your search
@@ -1013,11 +1013,10 @@ fn run_cmds(cmds: String, show: bool) -> ResultType<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn toggle_privacy_mode(v: bool) {
|
||||
pub fn toggle_blank_screen(v: bool) {
|
||||
let v = if v { TRUE } else { FALSE };
|
||||
unsafe {
|
||||
blank_screen(v);
|
||||
BlockInput(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user