mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1590] [MERGED] fix: simplify stack-all command #1472
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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.