mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
* feat: auto switch display on follow remote cursor Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * feat: auto switch display on follow remote window focus Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build and remove unused imports Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix linux get_focused_window_id Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * lock show remote cursor when follow remote cursor is enabled Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix config Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * prevent auto display switch on show all display and displays as individual windows Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix options Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix options Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove unused function Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove unwraps and improve iterations Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * set updateCursorPos to false to avoid interrupting remote cursor Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * update lang Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix web build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * update checks for options and enable in view mode Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use focused display index for window focus service Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use window center for windows display focused Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove unused imports Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use libxdo instead of xdotool Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix multi monitor check Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * enable show cursor when follow cursor is default Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove show_all_displays,use runtime state instead Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix show cursor lock state on default Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove view mode with follow options Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use separate message for follow current display Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix options Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * sciter support for follow remote cursor and window Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * add check for ui session handlers count Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use cached displays and remove peer info write Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * No follow options when show all displays Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * No follow options when multi ui session Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * turn off follow options when not used|prevent msgs Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use window center for switch in linux Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use subbed display count to prevent switch msgs Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix web build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * move subbed displays count Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * add noperms for window focus Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * add subscribe for window focus Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove window_focus message and unsub on multi ui Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * add multi ui session field Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> --------- Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
71 lines
1.8 KiB
Rust
71 lines
1.8 KiB
Rust
mod keyboard;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
/// cbindgen:ignore
|
|
pub mod platform;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
pub use platform::{
|
|
get_cursor, get_cursor_data, get_cursor_pos, get_focused_display, start_os_service,
|
|
};
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
/// cbindgen:ignore
|
|
mod server;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
pub use self::server::*;
|
|
mod client;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
mod lan;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
mod rendezvous_mediator;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
pub use self::rendezvous_mediator::*;
|
|
/// cbindgen:ignore
|
|
pub mod common;
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
pub mod ipc;
|
|
#[cfg(not(any(
|
|
target_os = "android",
|
|
target_os = "ios",
|
|
feature = "cli",
|
|
feature = "flutter"
|
|
)))]
|
|
pub mod ui;
|
|
mod version;
|
|
pub use version::*;
|
|
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
|
mod bridge_generated;
|
|
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
|
pub mod flutter;
|
|
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
|
pub mod flutter_ffi;
|
|
use common::*;
|
|
mod auth_2fa;
|
|
#[cfg(feature = "cli")]
|
|
pub mod cli;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios", feature = "cli")))]
|
|
pub mod core_main;
|
|
mod custom_server;
|
|
mod lang;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
mod port_forward;
|
|
|
|
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
pub mod plugin;
|
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
mod tray;
|
|
|
|
mod ui_cm_interface;
|
|
mod ui_interface;
|
|
mod ui_session_interface;
|
|
|
|
mod hbbs_http;
|
|
|
|
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
|
|
pub mod clipboard_file;
|
|
|
|
pub mod privacy_mode;
|
|
|
|
#[cfg(all(windows, feature = "virtual_display_driver"))]
|
|
pub mod virtual_display_manager;
|