screencapture: implement ext_image_copy_capture_manager_v1
This commit is contained in:
parent
e91993fb18
commit
f0562961e6
28 changed files with 1194 additions and 25 deletions
|
|
@ -185,6 +185,7 @@ impl ConnectorHandler {
|
|||
vblank_event: Default::default(),
|
||||
presentation_event: Default::default(),
|
||||
flip_margin_ns: Default::default(),
|
||||
ext_copy_sessions: Default::default(),
|
||||
});
|
||||
on.update_visible();
|
||||
on.update_rects();
|
||||
|
|
@ -284,6 +285,9 @@ impl ConnectorHandler {
|
|||
for sc in on.screencopies.lock().drain_values() {
|
||||
sc.send_failed();
|
||||
}
|
||||
for sc in on.ext_copy_sessions.lock().drain_values() {
|
||||
sc.stop();
|
||||
}
|
||||
global.destroyed.set(true);
|
||||
self.state.root.outputs.remove(&self.id);
|
||||
self.state.output_extents_changed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue