tree: add Node::node_output
This commit is contained in:
parent
0dcb33ae38
commit
b83bf0657b
15 changed files with 65 additions and 7 deletions
|
|
@ -298,6 +298,10 @@ impl Node for WorkspaceNode {
|
|||
self.position.get()
|
||||
}
|
||||
|
||||
fn node_output(&self) -> Option<Rc<OutputNode>> {
|
||||
Some(self.output.get())
|
||||
}
|
||||
|
||||
fn node_do_focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, direction: Direction) {
|
||||
if let Some(fs) = self.fullscreen.get() {
|
||||
fs.node_do_focus(seat, direction);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue