update rdev, fix grab system utf8, fallback on linux

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-09-15 15:35:44 +08:00
1 parent bb8438c770
commit 7b37e5183c
9 files changed
+19 -7

No files matched your search

+2
View File
@@ -583,6 +583,8 @@ pub fn event_type_to_event(event_type: EventType) -> Event {
unicode: None,
platform_code: 0,
position_code: 0,
#[cfg(any(target_os = "windows", target_os = "macos"))]
extra_data: 0,
}
}