* enable retina scale factor * enabled only when there are only one video service running * scale mouse event * scale cursor position * scale remote menu display button * adjust resolution Signed-off-by: 21pages <pages21@163.com> * Update server.rs --------- Signed-off-by: 21pages <pages21@163.com> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
18 lines
373 B
Rust
18 lines
373 B
Rust
pub use self::capturer::Capturer;
|
|
pub use self::config::Config;
|
|
pub use self::display::Display;
|
|
pub use self::ffi::{CGError, PixelFormat};
|
|
pub use self::frame::Frame;
|
|
|
|
mod capturer;
|
|
mod config;
|
|
mod display;
|
|
pub mod ffi;
|
|
mod frame;
|
|
|
|
use std::sync::{Arc, Mutex};
|
|
|
|
lazy_static::lazy_static! {
|
|
pub static ref ENABLE_RETINA: Arc<Mutex<bool>> = Arc::new(Mutex::new(true));
|
|
}
|