update linux.rs & macos.rs with bytes:Byte

issues:958
This commit is contained in:
tom
2022-07-17 00:59:56 +08:00
parent efa6b5972d
commit ae839bd5bf
3 changed files with 8 additions and 7 deletions

View File

@@ -342,7 +342,7 @@ pub fn get_cursor_data(hcursor: u64) -> ResultType<CursorData> {
}
Ok(CursorData {
id: hcursor,
colors,
colors: colors.into(),
hotx: hotspot.x as _,
hoty: hotspot.y as _,
width: size.width as _,