seat: handle surface cursor lifetimes explicitly
This commit is contained in:
parent
566a05494a
commit
be0935c8dd
4 changed files with 6 additions and 1 deletions
|
|
@ -620,7 +620,6 @@ impl WlSurface {
|
|||
let cursor = Rc::new(CursorSurface::new(seat, self));
|
||||
track!(self.client, cursor);
|
||||
cursor.handle_buffer_change();
|
||||
self.cursors.insert(seat.id(), cursor.clone());
|
||||
Ok(cursor)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue