mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-28 15:41:03 +03:00
fix linux to mac, keyboard input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user