Merge pull request #835 from mahkoh/jorth/fixes-v2
wl_fixes: implement v2
This commit is contained in:
commit
fa46be9c3c
3 changed files with 11 additions and 2 deletions
|
|
@ -242,7 +242,7 @@ granted access. See
|
|||
| wl_compositor | 7 | |
|
||||
| wl_data_device_manager | 4 | |
|
||||
| wl_drm | 2 | |
|
||||
| wl_fixes | 1 | |
|
||||
| wl_fixes | 2 | |
|
||||
| wl_output | 4 | |
|
||||
| wl_seat | 10 | |
|
||||
| wl_shm | 2 | |
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ simple_add_global!(WlFixesGlobal);
|
|||
|
||||
impl Global for WlFixesGlobal {
|
||||
fn version(&self) -> u32 {
|
||||
1
|
||||
2
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -67,6 +67,10 @@ impl WlFixesRequestHandler for WlFixes {
|
|||
self.client.remove_obj(&*registry)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn ack_global_remove(&self, _req: AckGlobalRemove, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
object_base! {
|
||||
|
|
|
|||
|
|
@ -4,3 +4,8 @@ request destroy (destructor) {
|
|||
request destroy_registry {
|
||||
registry: id(wl_registry),
|
||||
}
|
||||
|
||||
request ack_global_remove (since = 2) {
|
||||
registry: id(wl_registry),
|
||||
name: u32,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue