ifs: remove private screencast interface
This commit is contained in:
parent
698110c265
commit
ce03990ea4
16 changed files with 7 additions and 1315 deletions
12
src/state.rs
12
src/state.rs
|
|
@ -68,7 +68,6 @@ use {
|
|||
x_data_device::XTransferDeviceIds,
|
||||
},
|
||||
jay_render_ctx::JayRenderCtx,
|
||||
jay_screencast::JayScreencast,
|
||||
jay_seat_events::JaySeatEvents,
|
||||
jay_workspace_watcher::JayWorkspaceWatcher,
|
||||
wl_buffer::WlBuffer,
|
||||
|
|
@ -294,8 +293,6 @@ pub struct State {
|
|||
pub pending_output_render_data: AsyncQueue<Rc<OutputNode>>,
|
||||
pub pending_float_layout: AsyncQueue<Rc<FloatNode>>,
|
||||
pub pending_input_popup_positioning: AsyncQueue<Rc<ZwpInputPopupSurfaceV2>>,
|
||||
pub pending_toplevel_screencasts: AsyncQueue<Rc<JayScreencast>>,
|
||||
pub pending_screencast_reallocs_or_reconfigures: AsyncQueue<Rc<JayScreencast>>,
|
||||
pub pending_placeholder_render_textures: AsyncQueue<Rc<PlaceholderNode>>,
|
||||
pub pending_container_tab_render_textures: AsyncQueue<Rc<ContainerNode>>,
|
||||
pub dbus: Dbus,
|
||||
|
|
@ -854,18 +851,11 @@ impl State {
|
|||
watcher.send_render_ctx(ctx.clone());
|
||||
}
|
||||
|
||||
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 client.data.objects.ext_copy_sessions.lock().values() {
|
||||
sc.stop();
|
||||
}
|
||||
}
|
||||
for sc in scs {
|
||||
sc.do_destroy();
|
||||
}
|
||||
|
||||
self.expose_new_singletons();
|
||||
}
|
||||
|
|
@ -1234,8 +1224,6 @@ impl State {
|
|||
self.pending_output_render_data.clear();
|
||||
self.pending_float_layout.clear();
|
||||
self.pending_input_popup_positioning.clear();
|
||||
self.pending_toplevel_screencasts.clear();
|
||||
self.pending_screencast_reallocs_or_reconfigures.clear();
|
||||
self.pending_placeholder_render_textures.clear();
|
||||
self.pending_container_tab_render_textures.clear();
|
||||
self.animations.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue