wayland: add jay_screencast
This commit is contained in:
parent
022d8d1db0
commit
5a4e48e54a
14 changed files with 635 additions and 11 deletions
10
src/state.rs
10
src/state.rs
|
|
@ -328,6 +328,16 @@ impl State {
|
|||
for watcher in self.render_ctx_watchers.lock().values() {
|
||||
watcher.send_render_ctx(ctx);
|
||||
}
|
||||
|
||||
let mut scs = vec![];
|
||||
for client in self.clients.clients.borrow_mut().values() {
|
||||
for sc in client.data.objects.screencasts.lock().values() {
|
||||
scs.push(sc.clone());
|
||||
}
|
||||
}
|
||||
for sc in scs {
|
||||
sc.do_destroy();
|
||||
}
|
||||
}
|
||||
|
||||
fn reload_cursors(&self) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue