[PR #1331] [MERGED] fix(wm): focus correct window if monocled stack #1330

Closed
opened 2026-01-05 14:54:54 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1331
Author: @alex-ds13
Created: 3/10/2025
Status: Merged
Merged: 3/10/2025
Merged by: @LGUG2Z

Base: masterHead: fix/cycle-stacked-monocle


📝 Commits (1)

  • 57a3899 fix(wm): focus correct window if monocled stack

📊 Changes

2 files changed (+12 additions, -3 deletions)

View changed files

📝 komorebi/src/process_command.rs (+0 -3)
📝 komorebi/src/window_manager.rs (+12 -0)

📄 Description

Previously if we had a stack on a monocle container and tried to cycle stack or move the window within the stack or even using the focus stack window from a bar it would focus the wrong window and temporarely show that wrong window. This commit fixes this.


🔄 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/1331 **Author:** [@alex-ds13](https://github.com/alex-ds13) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/10/2025 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `fix/cycle-stacked-monocle` --- ### 📝 Commits (1) - [`57a3899`](https://github.com/LGUG2Z/komorebi/commit/57a38991f8d963f279d762c89576be5d78f9a2df) fix(wm): focus correct window if monocled stack ### 📊 Changes **2 files changed** (+12 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `komorebi/src/process_command.rs` (+0 -3) 📝 `komorebi/src/window_manager.rs` (+12 -0) </details> ### 📄 Description Previously if we had a stack on a monocle container and tried to cycle stack or move the window within the stack or even using the focus stack window from a bar it would focus the wrong window and temporarely show that wrong window. This commit fixes this. <!-- 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>
adam added the pull-request label 2026-01-05 14:54:54 +01:00
adam closed this issue 2026-01-05 14:54:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1330