This commit is contained in:
end-4
2024-02-08 02:20:31 +07:00
parent 7c0c61fb3e
commit 3cce919268
6 changed files with 13 additions and 7 deletions
@@ -294,7 +294,9 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
box
.hook(overviewTick, (box) => box.attribute.update(box))
.hook(Hyprland, (box, clientAddress) => {
box.attribute.update(box)
const client = Hyprland.getClient(clientAddress);
box.attribute.updateWorkspace(client.workspace.id);
// box.attribute.update(box)
}, 'client-removed')
.hook(Hyprland, (box, clientAddress) => {
box.attribute.update(box);