wayland: add u64 type macro
This commit is contained in:
parent
7373509274
commit
d6b3973979
30 changed files with 69 additions and 67 deletions
|
|
@ -36,7 +36,7 @@ impl TestJayScreenshot {
|
|||
width: ev.width as _,
|
||||
height: ev.height as _,
|
||||
format: XRGB8888,
|
||||
modifier: ((ev.modifier_hi as u64) << 32) | (ev.modifier_lo as u64),
|
||||
modifier: ev.modifier,
|
||||
planes,
|
||||
})));
|
||||
Ok(())
|
||||
|
|
|
|||
|
|
@ -27,8 +27,7 @@ impl TestSyncobjSurface {
|
|||
self.tran.send(SetAcquirePoint {
|
||||
self_id: self.id,
|
||||
timeline: tl.id,
|
||||
point_hi: (point >> 32) as _,
|
||||
point_lo: point as _,
|
||||
point,
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
@ -37,8 +36,7 @@ impl TestSyncobjSurface {
|
|||
self.tran.send(SetReleasePoint {
|
||||
self_id: self.id,
|
||||
timeline: tl.id,
|
||||
point_hi: (point >> 32) as _,
|
||||
point_lo: point as _,
|
||||
point,
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue