1
0
Fork 0
forked from wry/wry

autocommit 2022-02-06 19:56:51 CET

This commit is contained in:
Julian Orth 2022-02-06 19:56:51 +01:00
parent 1fdff156ec
commit 3f50b0c75e
37 changed files with 452 additions and 439 deletions

View file

@ -1,4 +1,4 @@
use crate::client::{Client, ClientError, DynEventFormatter};
use crate::client::{Client, ClientError};
use crate::clientmem::{ClientMem, ClientMemOffset};
use crate::format::Format;
use crate::object::Object;
@ -118,8 +118,8 @@ impl WlBuffer {
Ok(())
}
pub fn release(&self) -> DynEventFormatter {
Box::new(Release { self_id: self.id })
pub fn send_release(&self) {
self.client.event(Release { self_id: self.id })
}
}