wayland: add jay_screencast
This commit is contained in:
parent
022d8d1db0
commit
5a4e48e54a
14 changed files with 635 additions and 11 deletions
|
|
@ -125,6 +125,7 @@ impl ConnectorHandler {
|
|||
preferred_scale: Cell::new(Fixed::from_int(1)),
|
||||
hardware_cursor: Default::default(),
|
||||
jay_outputs: Default::default(),
|
||||
screencasts: Default::default(),
|
||||
});
|
||||
self.state.add_output_scale(on.preferred_scale.get());
|
||||
let mode = info.initial_mode;
|
||||
|
|
@ -217,6 +218,10 @@ impl ConnectorHandler {
|
|||
jo.send_destroyed();
|
||||
jo.output.take();
|
||||
}
|
||||
let screencasts: Vec<_> = on.screencasts.lock().values().cloned().collect();
|
||||
for sc in screencasts {
|
||||
sc.do_destroy();
|
||||
}
|
||||
global.destroyed.set(true);
|
||||
self.state.root.outputs.remove(&self.id);
|
||||
self.data.connected.set(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue