mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 03:01:28 +03:00
@@ -1020,11 +1020,9 @@ pub fn toggle_blank_screen(v: bool) {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn block_input(v: bool) {
|
||||
pub fn block_input(v: bool) -> bool {
|
||||
let v = if v { TRUE } else { FALSE };
|
||||
unsafe {
|
||||
BlockInput(v);
|
||||
}
|
||||
unsafe { BlockInput(v) == TRUE }
|
||||
}
|
||||
|
||||
pub fn add_recent_document(path: &str) {
|
||||
|
||||
Reference in New Issue
Block a user