tree: add Node::node_accepts_focus
This commit is contained in:
parent
dbc954dded
commit
5a004c3d31
4 changed files with 20 additions and 0 deletions
|
|
@ -679,6 +679,10 @@ impl Node for ZwlrLayerSurfaceV1 {
|
|||
SurfaceExt::node_layer(self)
|
||||
}
|
||||
|
||||
fn node_accepts_focus(&self) -> bool {
|
||||
self.keyboard_interactivity.get() != KI_NONE
|
||||
}
|
||||
|
||||
fn node_find_tree_at(
|
||||
&self,
|
||||
x: i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue