all: add missing object tracking
This commit is contained in:
parent
f94f199ab1
commit
555bd0a1bc
7 changed files with 11 additions and 1 deletions
|
|
@ -226,6 +226,7 @@ impl ZwpPointerConstraintsV1RequestHandler for ZwpPointerConstraintsV1 {
|
|||
constraint,
|
||||
version: self.version,
|
||||
});
|
||||
track!(self.client, lp);
|
||||
self.client.add_client_obj(&lp)?;
|
||||
lp.constraint.owner.set(Some(lp.clone()));
|
||||
lp.constraint
|
||||
|
|
@ -250,6 +251,7 @@ impl ZwpPointerConstraintsV1RequestHandler for ZwpPointerConstraintsV1 {
|
|||
constraint,
|
||||
version: self.version,
|
||||
});
|
||||
track!(self.client, lp);
|
||||
self.client.add_client_obj(&lp)?;
|
||||
lp.constraint.owner.set(Some(lp.clone()));
|
||||
lp.constraint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue