tiling: Focus whole stack on Focus::In
This commit is contained in:
parent
5884e287a5
commit
1452281fa7
3 changed files with 18 additions and 1 deletions
|
|
@ -465,6 +465,13 @@ impl CosmicMapped {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn stack_ref(&self) -> Option<&CosmicStack> {
|
||||
match &self.element {
|
||||
CosmicMappedInternal::Stack(stack) => Some(stack),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn stack_ref_mut(&mut self) -> Option<&mut CosmicStack> {
|
||||
match &mut self.element {
|
||||
CosmicMappedInternal::Stack(stack) => Some(stack),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue