feat: add invariant-safe window stacks

This commit is contained in:
Samuel Onoja committed 2026-09-24 11:30:26 +01:00
1 parent 6060257ffe
commit da4aaf9fb0
3 files changed
+327 -15

No files matched your search

+3
View File
@@ -262,6 +262,9 @@ impl Ferese {
.filter(|(_, id)| {
self.workspaces.workspace_for_window(**id) != Some(active)
|| fullscreen.is_some_and(|fullscreen| fullscreen != **id)
|| (fullscreen.is_none()
&& self.workspaces.placement(**id) == Some(WindowPlacement::Tiled)
&& !tiled_geometry.contains_key(id))
})
.map(|(window, _)| window.clone())
.collect::<Vec<_>>();