Switch to a clicked overview window's workspace

Hyprland ignores activation requests for windows on other workspaces unless
misc:focus_on_activate is set, so clicking a window preview did nothing.
Dispatch the workspace and window focus instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 16:00:00 +01:00
1 parent cc0ae50b95
commit aecee213f8
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -373,7 +373,7 @@ PanelWindow {
return;
}
ShellState.overviewOpen = false;
HyprlandService.focusWindow(tile.win.address);
HyprlandService.revealWindow(tile.win.address, slot.workspaceId);
}
}
}