mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 11:21:30 +03:00
feat/virtual_display_privacy_mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -138,12 +138,10 @@ pub fn capture_cursor_embedded() -> bool {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_privacy_mode_supported() -> bool {
|
||||
#[cfg(windows)]
|
||||
#[cfg(windows)]
|
||||
pub fn is_privacy_mode_mag_supported() -> bool {
|
||||
return *IS_CAPTURER_MAGNIFIER_SUPPORTED
|
||||
&& get_version_number(&crate::VERSION) > get_version_number("1.1.9");
|
||||
#[cfg(not(windows))]
|
||||
return false;
|
||||
}
|
||||
|
||||
pub fn new() -> GenericService {
|
||||
|
||||
Reference in New Issue
Block a user