This commit makes the stack-all command simpler, by simply making a VecDeque with all the tiled windows of the workspace, then it creates a new container with that VecDeque and changes the workspace containers to be just this new container which has all the windows in it. Then and only then do we focus and show the previously focused window and hide all the rest.
This way we don't have a bunch of FocusChange/Cloak/Uncloak events coming up which might conflict with each other when the user has transparency and animations enabled. With this commit, there will only be one focus event for the focused window and one cloak event for each of the other windows.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/1590
**Author:** [@alex-ds13](https://github.com/alex-ds13)
**Created:** 10/30/2025
**Status:** ✅ Merged
**Merged:** 10/30/2025
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `fix/stack-all`
---
### 📝 Commits (1)
- [`1ef5c56`](https://github.com/LGUG2Z/komorebi/commit/1ef5c56ad3d05e453227b9ac8c68178ca22999b7) fix: simplify stack-all command
### 📊 Changes
**1 file changed** (+19 additions, -10 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/window_manager.rs` (+19 -10)
</details>
### 📄 Description
This commit makes the `stack-all` command simpler, by simply making a `VecDeque` with all the tiled windows of the workspace, then it creates a new container with that `VecDeque` and changes the workspace containers to be just this new container which has all the windows in it. Then and only then do we focus and show the previously focused window and hide all the rest.
This way we don't have a bunch of `FocusChange`/`Cloak`/`Uncloak` events coming up which might conflict with each other when the user has transparency and animations enabled. With this commit, there will only be one focus event for the focused window and one cloak event for each of the other windows.
Fixes #1490
<!--
Please follow the Conventional Commits specification.
If you need to update your PR with changes from `master`, please run `git rebase master`.
By opening this PR, you confirm that you have read and understood this project's `CONTRIBUTING.md`.
-->
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1590
Author: @alex-ds13
Created: 10/30/2025
Status: ✅ Merged
Merged: 10/30/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/stack-all📝 Commits (1)
1ef5c56fix: simplify stack-all command📊 Changes
1 file changed (+19 additions, -10 deletions)
View changed files
📝
komorebi/src/window_manager.rs(+19 -10)📄 Description
This commit makes the
stack-allcommand simpler, by simply making aVecDequewith all the tiled windows of the workspace, then it creates a new container with thatVecDequeand changes the workspace containers to be just this new container which has all the windows in it. Then and only then do we focus and show the previously focused window and hide all the rest.This way we don't have a bunch of
FocusChange/Cloak/Uncloakevents coming up which might conflict with each other when the user has transparency and animations enabled. With this commit, there will only be one focus event for the focused window and one cloak event for each of the other windows.Fixes #1490
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.