[PR #1291] [MERGED] fix(wm): take layer into account on ws restore #1304

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

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1291
Author: @alex-ds13
Created: 2/23/2025
Status: Merged
Merged: 2/23/2025
Merged by: @LGUG2Z

Base: masterHead: fix/use-layer-show-floating-on-restore


📝 Commits (1)

  • bf9d835 fix(wm): take layer into account on ws restore

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 komorebi/src/workspace.rs (+1 -1)

📄 Description

Previously if a workspace had any floating windows it would always focus the first one when restoring. Now it only focus the floating window if the workspace layer is Floating.


🔄 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/1291 **Author:** [@alex-ds13](https://github.com/alex-ds13) **Created:** 2/23/2025 **Status:** ✅ Merged **Merged:** 2/23/2025 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `fix/use-layer-show-floating-on-restore` --- ### 📝 Commits (1) - [`bf9d835`](https://github.com/LGUG2Z/komorebi/commit/bf9d835b350ccce944b00ba4326307486e39675d) fix(wm): take layer into account on ws restore ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `komorebi/src/workspace.rs` (+1 -1) </details> ### 📄 Description Previously if a workspace had any floating windows it would always focus the first one when restoring. Now it only focus the floating window if the workspace layer is `Floating`. <!-- 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:49 +01:00
adam closed this issue 2026-01-05 14:54:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1304