mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-30 08:31:08 +03:00
fix: cursor, macos, text (#12794)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
use super::{create_event_loop, CustomEvent};
|
||||
use crate::ipc::{new_listener, Connection, Data};
|
||||
#[cfg(any(target_os = "windows", target_os = "linux"))]
|
||||
use hbb_common::ResultType;
|
||||
use hbb_common::{
|
||||
allow_err, log,
|
||||
tokio::{
|
||||
self,
|
||||
sync::mpsc::{unbounded_channel, UnboundedReceiver},
|
||||
},
|
||||
ResultType,
|
||||
};
|
||||
use lazy_static::lazy_static;
|
||||
use std::sync::RwLock;
|
||||
@@ -99,6 +100,7 @@ async fn handle_new_stream(mut conn: Connection) {
|
||||
});
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "windows", target_os = "linux"))]
|
||||
pub(super) fn get_displays_rect() -> ResultType<(i32, i32, u32, u32)> {
|
||||
let displays = crate::server::display_service::try_get_displays()?;
|
||||
let mut min_x = i32::MAX;
|
||||
|
||||
Reference in New Issue
Block a user