fix: clear sticky windows, or floating windows focus hint if focus moves

This commit is contained in:
Hojjat 2026-09-09 14:57:29 -06:00 • committed by Victoria Brekenfeld
parent 0fbd4574ef
commit 6645edff64
4 changed files with 40 additions and 10 deletions

View file

@ -430,6 +430,10 @@ impl CosmicMapped {
}
}
pub fn is_sticky(&self) -> bool {
self.active_window().is_sticky()
}
pub fn pending_size(&self) -> Option<Size<i32, Logical>> {
match &self.element {
CosmicMappedInternal::Stack(s) => s.pending_size(),