There are currently a number of commands that do not update the previously focused workspace correctly. The previous method relied on handling each case, this change makes it so that last_focused_workspace is always updated whenever the focus is changed.
🔄 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/1510
**Author:** [@omark96](https://github.com/omark96)
**Created:** 7/23/2025
**Status:** ✅ Merged
**Merged:** 7/23/2025
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `fix(wm)/move-last-focused-logic`
---
### 📝 Commits (1)
- [`cecc354`](https://github.com/LGUG2Z/komorebi/commit/cecc354832703cd9e6803bbefa3a9ac386c1b1a6) fix(wm): move last_focused_workspace logic to focus_workspace method
### 📊 Changes
**2 files changed** (+1 additions, -20 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/monitor.rs` (+1 -1)
📝 `komorebi/src/process_command.rs` (+0 -19)
</details>
### 📄 Description
There are currently a number of commands that do not update the previously focused workspace correctly. The previous method relied on handling each case, this change makes it so that last_focused_workspace is always updated whenever the focus is changed.
---
<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/1510
Author: @omark96
Created: 7/23/2025
Status: ✅ Merged
Merged: 7/23/2025
Merged by: @LGUG2Z
Base:
master← Head:fix(wm)/move-last-focused-logic📝 Commits (1)
cecc354fix(wm): move last_focused_workspace logic to focus_workspace method📊 Changes
2 files changed (+1 additions, -20 deletions)
View changed files
📝
komorebi/src/monitor.rs(+1 -1)📝
komorebi/src/process_command.rs(+0 -19)📄 Description
There are currently a number of commands that do not update the previously focused workspace correctly. The previous method relied on handling each case, this change makes it so that last_focused_workspace is always updated whenever the focus is changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.