Add focus history and Alt-Tab window switching

This commit is contained in:
Samuel Onoja committed 2026-10-01 16:00:23 +01:00
1 parent a3431cab5b
commit 0162870cca
18 files changed
+571 -8

No files matched your search

+4 -2
View File
@@ -58,9 +58,11 @@ impl XdgShellHandler for Ferese {
}
fn toplevel_destroyed(&mut self, surface: ToplevelSurface) {
// Hidden workspace windows are managed but unmapped from Space.
let Some(window) = self
.space
.elements()
.window_ids
.keys()
.chain(self.space.elements())
.find(|window| {
window
.toplevel()