video: always use correct modifiers
This commit is contained in:
parent
283774ae4c
commit
bf90204db6
17 changed files with 196 additions and 55 deletions
|
|
@ -24,6 +24,7 @@ impl JayScreenshot {
|
|||
height: i32,
|
||||
offset: u32,
|
||||
stride: u32,
|
||||
modifier: u64,
|
||||
) {
|
||||
self.client.event(Dmabuf {
|
||||
self_id: self.id,
|
||||
|
|
@ -33,6 +34,8 @@ impl JayScreenshot {
|
|||
height: height as _,
|
||||
offset,
|
||||
stride,
|
||||
modifier_lo: modifier as u32,
|
||||
modifier_hi: (modifier >> 32) as u32,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue