Remote side has a higher priority on mouse control

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-09 15:04:24 +08:00
parent 6bdb69f7bc
commit 60e8dd840f
5 changed files with 72 additions and 25 deletions

View File

@@ -1,10 +1,13 @@
use hbb_common::log::{debug, error, info};
use hbb_common::log::debug;
#[cfg(target_os = "linux")]
use hbb_common::log::{error, info};
#[cfg(target_os = "linux")]
use libappindicator::AppIndicator;
#[cfg(target_os = "linux")]
use std::env::temp_dir;
use std::{
collections::HashMap,
sync::{Arc, Mutex, RwLock},
sync::{Arc, Mutex},
};
#[cfg(target_os = "windows")]
use trayicon::{MenuBuilder, TrayIconBuilder};