fix linux to mac, keyboard input

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-01-05 14:58:38 +08:00
parent 66d50ef55c
commit b723f8472d
5 changed files with 10 additions and 10 deletions

View File

@@ -74,9 +74,9 @@ pub fn is_x11() -> bool {
#[inline]
pub fn is_cursor_embedded() -> bool {
if is_x11() {
x11::is_cursor_embedded
x11::IS_CURSOR_EMBEDDED
} else {
wayland::is_cursor_embedded
wayland::IS_CURSOR_EMBEDDED
}
}