seat: handle surface cursor lifetimes explicitly
This commit is contained in:
parent
566a05494a
commit
be0935c8dd
4 changed files with 6 additions and 1 deletions
|
|
@ -879,6 +879,7 @@ impl WlSeatGlobal {
|
|||
old.handle_unset();
|
||||
}
|
||||
if let Some(cursor) = cursor.as_ref() {
|
||||
cursor.clone().handle_set();
|
||||
cursor.set_output(&self.output.get());
|
||||
}
|
||||
self.cursor.set(cursor.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue