tree: implement Node::node_accepts_focus for more nodes
This commit is contained in:
parent
5a004c3d31
commit
c034ea7604
3 changed files with 19 additions and 5 deletions
|
|
@ -727,6 +727,12 @@ impl Node for FloatNode {
|
|||
false
|
||||
}
|
||||
|
||||
fn node_do_focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, direction: Direction) {
|
||||
if let Some(c) = self.child.get() {
|
||||
c.node_do_focus(seat, direction);
|
||||
}
|
||||
}
|
||||
|
||||
fn node_find_tree_at(
|
||||
&self,
|
||||
x: i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue