mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1034] [MERGED] Fix(wm): update monitor focus before focus-stack-window #1176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:fix/focus-stack-window-on-correct-monitor📝 Commits (1)
2395af1fix(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-baror 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.