1
0
Fork 0
forked from wry/wry

tree: fix jay hanging during shutdown

This commit is contained in:
Julian Orth 2022-05-20 13:56:09 +02:00
parent 7476e6f2d9
commit 10090c0596
2 changed files with 12 additions and 13 deletions

View file

@ -231,6 +231,10 @@ impl WlSurface {
}
}
pub fn get_toplevel(&self) -> Option<Rc<dyn ToplevelNode>> {
self.toplevel.get()
}
fn set_absolute_position(&self, x1: i32, y1: i32) {
self.buffer_abs_pos
.set(self.buffer_abs_pos.get().at_point(x1, y1));