wayland: implement tablet-v2
This commit is contained in:
parent
86e283d255
commit
7ed499eabd
62 changed files with 5174 additions and 318 deletions
|
|
@ -17,6 +17,7 @@ use {
|
|||
copyhashmap::{CopyHashMap, Locked},
|
||||
errorfmt::ErrorFmt,
|
||||
numcell::NumCell,
|
||||
pending_serial::PendingSerial,
|
||||
trim::AsciiTrim,
|
||||
},
|
||||
wire::WlRegistryId,
|
||||
|
|
@ -350,6 +351,10 @@ impl Client {
|
|||
self.state.next_serial(Some(self))
|
||||
}
|
||||
|
||||
pub fn pending_serial(&self) -> PendingSerial<'_> {
|
||||
PendingSerial::new(self)
|
||||
}
|
||||
|
||||
pub fn new_id<T: From<ObjectId>>(&self) -> Result<T, ClientError> {
|
||||
self.objects.id(self)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue