tree: allow moving focus between containers on different outputs
This commit is contained in:
parent
f015ee0761
commit
bf8dcd1408
3 changed files with 32 additions and 8 deletions
|
|
@ -1560,11 +1560,15 @@ impl State {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn find_connector_in_direction(
|
||||
pub fn find_output_in_direction(
|
||||
&self,
|
||||
source_output: &OutputNode,
|
||||
direction: Direction,
|
||||
) -> Option<Rc<OutputNode>> {
|
||||
if source_output.is_dummy {
|
||||
return None;
|
||||
}
|
||||
|
||||
let outputs = self.root.outputs.lock();
|
||||
|
||||
let ref_box = source_output.global.pos.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue