tree: fix per-workspace capture tracking
This commit is contained in:
parent
670588fe4d
commit
c6864a6d85
10 changed files with 191 additions and 145 deletions
|
|
@ -125,7 +125,6 @@ impl ZwlrScreencopyManagerV1 {
|
|||
overlay_cursor,
|
||||
used: Cell::new(false),
|
||||
with_damage: Cell::new(false),
|
||||
output_link: Cell::new(None),
|
||||
buffer: Cell::new(None),
|
||||
version: self.version,
|
||||
});
|
||||
|
|
@ -136,9 +135,6 @@ impl ZwlrScreencopyManagerV1 {
|
|||
frame.send_linux_dmabuf();
|
||||
frame.send_buffer_done();
|
||||
}
|
||||
frame
|
||||
.output_link
|
||||
.set(Some(output.global.unused_captures.add_last(frame.clone())));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue