mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -12,7 +12,7 @@ cfg_if! {
|
||||
mod x11;
|
||||
pub use self::linux::*;
|
||||
pub use self::x11::Frame;
|
||||
pub use self::wayland::{set_map_err, detect_cursor_embeded};
|
||||
pub use self::wayland::{set_map_err, detect_cursor_embedded};
|
||||
} else {
|
||||
mod x11;
|
||||
pub use self::x11::*;
|
||||
|
||||
@@ -10,7 +10,7 @@ lazy_static::lazy_static! {
|
||||
static ref MAP_ERR: RwLock<Option<fn(err: String)-> io::Error>> = Default::default();
|
||||
}
|
||||
|
||||
pub fn detect_cursor_embeded() {
|
||||
pub fn detect_cursor_embedded() {
|
||||
if unsafe { IS_CURSOR_EMBEDDED } {
|
||||
use crate::common::wayland::pipewire::get_available_cursor_modes;
|
||||
match get_available_cursor_modes() {
|
||||
|
||||
Reference in New Issue
Block a user