1
0
Fork 0
forked from wry/wry

autocommit 2022-01-08 18:38:24 CET

This commit is contained in:
Julian Orth 2022-01-08 18:38:24 +01:00
parent 33549184d4
commit d061a5c313
38 changed files with 179 additions and 371 deletions

View file

@ -19,7 +19,7 @@ pub struct WlShmGlobal {
}
pub struct WlShmObj {
global: Rc<WlShmGlobal>,
_global: Rc<WlShmGlobal>,
id: WlShmId,
client: Rc<Client>,
}
@ -36,7 +36,7 @@ impl WlShmGlobal {
_version: u32,
) -> Result<(), WlShmError> {
let obj = Rc::new(WlShmObj {
global: self,
_global: self,
id,
client: client.clone(),
});
@ -100,10 +100,6 @@ impl Global for WlShmGlobal {
fn version(&self) -> u32 {
1
}
fn pre_remove(&self) {
unreachable!()
}
}
handle_request!(WlShmObj);