1
0
Fork 0
forked from wry/wry

wl_compositor: implement version 7

This commit is contained in:
Julian Orth 2026-02-28 15:02:10 +01:00
parent 9b870fb8e2
commit 28e699d1b4
5 changed files with 43 additions and 2 deletions

View file

@ -69,6 +69,11 @@ impl WlCompositorRequestHandler for WlCompositor {
self.client.add_client_obj(&region)?;
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
}
}