mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1136] [MERGED] fix(wm): focus maximized windows when moving focus across monitors #1219
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/1136
Author: @alex-ds13
Created: 11/21/2024
Status: ✅ Merged
Merged: 11/21/2024
Merged by: @LGUG2Z
Base:
master← Head:fix/change_monitor_focus_with_maximized📝 Commits (2)
0c3bd79fix(wm): focus maximized windows when moving focus across monitorsbf1acabfix(wm): disallow focusing other windows when there is a maximized_window📊 Changes
1 file changed (+20 additions, -9 deletions)
View changed files
📝
komorebi/src/window_manager.rs(+20 -9)📄 Description
There was an issue where if you changed focus across monitors and the target monitor had a maximized window it would focus one of the containers beneath it instead. And if there were no containers it wouldn't focus anything, but instead keep focus on the previous monitor. This commit fixes that issue.
This was first brought up on discord here. The user has already tested this fix and it is working fine! Now is just a matter of deciding if we keep that code that centers the mouse on the screen, no matter what the value of "mff" is?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.