misspelling

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-01-29 09:26:55 +08:00
parent b84f3ba1ee
commit c0adc14215
3 changed files with 4 additions and 4 deletions

View File

@@ -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::*;

View File

@@ -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() {