[PR #1034] [MERGED] Fix(wm): update monitor focus before focus-stack-window #1176

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

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1034
Author: @alex-ds13
Created: 10/7/2024
Status: Merged
Merged: 10/7/2024
Merged by: @LGUG2Z

Base: masterHead: fix/focus-stack-window-on-correct-monitor


📝 Commits (1)

  • 2395af1 fix(wm): update monitor focus before focus-stack-window

📊 Changes

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

View changed files

📝 komorebi/src/process_command.rs (+7 -0)

📄 Description

This commit fixes the cases where you'd call this command on a monitor which was not focused, for example by pressing a button on a bar like komorebi-bar or other when you had focus on another monitor. This change ensures that first we focus the monitor where the mouse cursor is, this way it will act on the monitor that you've just pressed instead of the monitor that was focused before.


🔄 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/1034 **Author:** [@alex-ds13](https://github.com/alex-ds13) **Created:** 10/7/2024 **Status:** ✅ Merged **Merged:** 10/7/2024 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `fix/focus-stack-window-on-correct-monitor` --- ### 📝 Commits (1) - [`2395af1`](https://github.com/LGUG2Z/komorebi/commit/2395af1e9410761fa8fa11d90fb021a85714aae8) fix(wm): update monitor focus before focus-stack-window ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `komorebi/src/process_command.rs` (+7 -0) </details> ### 📄 Description This commit fixes the cases where you'd call this command on a monitor which was not focused, for example by pressing a button on a bar like `komorebi-bar` or other when you had focus on another monitor. This change ensures that first we focus the monitor where the mouse cursor is, this way it will act on the monitor that you've just pressed instead of the monitor that was focused before. --- <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:21 +01:00
adam closed this issue 2026-01-05 14:54:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1176