Remove CosmicMapped::stack_ref_mut
The methods of `CosmicStack` take `&self`, so this isn't actually needed for anything.
This commit is contained in:
parent
649547d3cc
commit
63995c4919
7 changed files with 18 additions and 25 deletions
|
|
@ -542,13 +542,6 @@ impl CosmicMapped {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn stack_ref_mut(&mut self) -> Option<&mut CosmicStack> {
|
||||
match &mut self.element {
|
||||
CosmicMappedInternal::Stack(stack) => Some(stack),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn convert_to_stack(
|
||||
&mut self,
|
||||
(output, overlap): (&Output, Rectangle<i32, Logical>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue