diff options
Diffstat (limited to 'src/protocols/screencopy.rs')
| -rw-r--r-- | src/protocols/screencopy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/screencopy.rs b/src/protocols/screencopy.rs index 5be096e5..d7e3d08f 100644 --- a/src/protocols/screencopy.rs +++ b/src/protocols/screencopy.rs @@ -456,7 +456,7 @@ impl Screencopy { self.with_damage } - pub fn damage(&self, damages: &[Rectangle<i32, Physical>]) { + pub fn damage(&self, damages: impl Iterator<Item = Rectangle<i32, smithay::utils::Buffer>>) { for Rectangle { loc, size } in damages { self.frame .damage(loc.x as u32, loc.y as u32, size.w as u32, size.h as u32); |
