[PR #1510] [MERGED] fix(wm): move last_focused_workspace logic to focus_workspace method #1437

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

📋 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: masterHead: fix(wm)/move-last-focused-logic


📝 Commits (1)

  • cecc354 fix(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.

## 📋 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>
adam added the pull-request label 2026-01-05 14:55:17 +01:00
adam closed this issue 2026-01-05 14:55:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1437