1
0
Fork 0
forked from wry/wry

tree: add Node::node_accepts_focus

This commit is contained in:
Julian Orth 2025-07-19 21:59:43 +02:00
parent dbc954dded
commit 5a004c3d31
4 changed files with 20 additions and 0 deletions

View file

@ -216,6 +216,11 @@ pub trait Node: 'static {
let _ = title;
}
#[expect(dead_code)]
fn node_accepts_focus(&self) -> bool {
true
}
fn node_do_focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, direction: Direction) {
let _ = seat;
let _ = direction;