ifs: remove private screencast interface
This commit is contained in:
parent
698110c265
commit
ce03990ea4
16 changed files with 7 additions and 1315 deletions
|
|
@ -15,7 +15,6 @@ use {
|
|||
jay_randr::JayRandr,
|
||||
jay_reexec::JayReexec,
|
||||
jay_render_ctx::JayRenderCtx,
|
||||
jay_screencast::JayScreencast,
|
||||
jay_screenshot::JayScreenshot,
|
||||
jay_seat_events::JaySeatEvents,
|
||||
jay_select_toplevel::{JaySelectToplevel, JayToplevelSelector},
|
||||
|
|
@ -95,7 +94,6 @@ pub struct Cap;
|
|||
|
||||
impl Cap {
|
||||
pub const NONE: u16 = 0;
|
||||
pub const WINDOW_CAPTURE: u16 = 1;
|
||||
pub const SELECT_WORKSPACE: u16 = 2;
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +101,7 @@ impl JayCompositor {
|
|||
fn send_capabilities(&self) {
|
||||
self.client.event(Capabilities {
|
||||
self_id: self.id,
|
||||
cap: &[Cap::NONE, Cap::WINDOW_CAPTURE, Cap::SELECT_WORKSPACE],
|
||||
cap: &[Cap::NONE, Cap::SELECT_WORKSPACE],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -332,13 +330,6 @@ impl JayCompositorRequestHandler for JayCompositor {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
fn create_screencast(&self, req: CreateScreencast, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
let sc = Rc::new_cyclic(|slf| JayScreencast::new(req.id, &self.client, slf, self.version));
|
||||
track!(self.client, sc);
|
||||
self.client.add_client_obj(&sc)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn get_randr(&self, req: GetRandr, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
let sc = Rc::new(JayRandr::new(req.id, &self.client, self.version));
|
||||
track!(self.client, sc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue