1
0
Fork 0
forked from wry/wry

all: fix memory leaks

This commit is contained in:
Julian Orth 2022-05-18 22:42:36 +02:00
parent 56e3eee629
commit e5c0916a25
15 changed files with 147 additions and 54 deletions

View file

@ -154,6 +154,13 @@ impl NodeSeatState {
self.dnd_targets.remove(&seat.id);
self.pointer_grabs.remove(&seat.id);
}
pub fn clear(&self) {
self.kb_foci.clear();
self.pointer_foci.clear();
self.dnd_targets.clear();
self.pointer_grabs.clear();
}
}
impl WlSeatGlobal {