1
0
Fork 0
forked from wry/wry

tree: focus container mono child after scroll

This commit is contained in:
Julian Orth 2022-05-07 14:24:06 +02:00
parent 3abd72b330
commit fca7c7e1d2
9 changed files with 140 additions and 9 deletions

View file

@ -769,7 +769,7 @@ impl Node for WlSurface {
seat.button_surface(&self, button, state, serial);
}
fn node_on_axis_event(self: Rc<Self>, seat: &WlSeatGlobal, event: &PendingScroll) {
fn node_on_axis_event(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, event: &PendingScroll) {
seat.scroll_surface(&*self, event);
}