1
0
Fork 0
forked from wry/wry

autocommit 2022-01-04 15:30:21 CET

This commit is contained in:
Julian Orth 2022-01-04 15:30:21 +01:00
parent 30376c595c
commit cbbc41a463
40 changed files with 725 additions and 189 deletions

View file

@ -74,8 +74,10 @@ bitflags! {
}
}
id!(XdgPositionerId);
pub struct XdgPositioner {
id: ObjectId,
id: XdgPositionerId,
client: Rc<Client>,
version: u32,
position: RefCell<XdgPositioned>,
@ -101,7 +103,7 @@ pub struct XdgPositioned {
}
impl XdgPositioner {
pub fn new(id: ObjectId, client: &Rc<Client>, version: u32) -> Self {
pub fn new(id: XdgPositionerId, client: &Rc<Client>, version: u32) -> Self {
Self {
id,
client: client.clone(),
@ -256,7 +258,7 @@ handle_request!(XdgPositioner);
impl Object for XdgPositioner {
fn id(&self) -> ObjectId {
self.id
self.id.into()
}
fn interface(&self) -> Interface {