wl_compositor: implement version 7
This commit is contained in:
parent
9b870fb8e2
commit
28e699d1b4
5 changed files with 43 additions and 2 deletions
|
|
@ -69,6 +69,11 @@ impl WlCompositorRequestHandler for WlCompositor {
|
|||
self.client.add_client_obj(®ion)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn release(&self, _req: Release, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
self.client.remove_obj(self)?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
global_base!(WlCompositorGlobal, WlCompositor, WlCompositorError);
|
||||
|
|
@ -79,7 +84,7 @@ impl Global for WlCompositorGlobal {
|
|||
}
|
||||
|
||||
fn version(&self) -> u32 {
|
||||
6
|
||||
7
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue