chore: Fix a few warnings

This commit is contained in:
Victoria Brekenfeld 2025-01-02 16:26:56 +01:00 committed by Victoria Brekenfeld
parent f12f4db0e1
commit 61b0dddf50
2 changed files with 3 additions and 6 deletions

View file

@ -871,7 +871,7 @@ impl CosmicMapped {
match &self.element {
CosmicMappedInternal::Window(w) => (!w.surface().is_decorated(pending))
.then(|| crate::shell::element::window::SSD_HEIGHT),
CosmicMappedInternal::Stack(s) => Some(crate::shell::element::stack::TAB_HEIGHT),
CosmicMappedInternal::Stack(_) => Some(crate::shell::element::stack::TAB_HEIGHT),
_ => unreachable!(),
}
}