bd1ca3d fix(border): stop removing borders on wrong monitors
📊 Changes
1 file changed (+5 additions, -3 deletions)
View changed files
📝komorebi/src/border_manager/mod.rs (+5 -3)
📄 Description
There is a bug where the border manager is checking if the foreground window is maximized to remove all the borders on that monitor. However this check for is_maximized didn't check if the foreground window in question was on the current monitor being iterated through. So when the foreground (focused) window was maximized, every borders on all monitors were being removed.
This fix makes sure we check if the foreground window is on the monitor being iterated through and only remove the borders on that specific monitor.
🔄 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/1167
**Author:** [@alex-ds13](https://github.com/alex-ds13)
**Created:** 12/9/2024
**Status:** ✅ Merged
**Merged:** 12/9/2024
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `fix/borders-vanishing`
---
### 📝 Commits (1)
- [`bd1ca3d`](https://github.com/LGUG2Z/komorebi/commit/bd1ca3d93eb819d22ae47f33ce2307fb99e5624c) fix(border): stop removing borders on wrong monitors
### 📊 Changes
**1 file changed** (+5 additions, -3 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/border_manager/mod.rs` (+5 -3)
</details>
### 📄 Description
There is a bug where the border manager is checking if the foreground window is maximized to remove all the borders on that monitor. However this check for `is_maximized` didn't check if the foreground window in question was on the current monitor being iterated through. So when the foreground (focused) window was maximized, every borders on all monitors were being removed.
This fix makes sure we check if the foreground window is on the monitor being iterated through and only remove the borders on that specific monitor.
<!--
Please follow the Conventional Commits specification.
If you need to update your PR with changes from `master`, please run `git rebase master`.
By opening this PR, you confirm that you have read and understood this project's `CONTRIBUTING.md`.
-->
---
<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/1167
Author: @alex-ds13
Created: 12/9/2024
Status: ✅ Merged
Merged: 12/9/2024
Merged by: @LGUG2Z
Base:
master← Head:fix/borders-vanishing📝 Commits (1)
bd1ca3dfix(border): stop removing borders on wrong monitors📊 Changes
1 file changed (+5 additions, -3 deletions)
View changed files
📝
komorebi/src/border_manager/mod.rs(+5 -3)📄 Description
There is a bug where the border manager is checking if the foreground window is maximized to remove all the borders on that monitor. However this check for
is_maximizeddidn't check if the foreground window in question was on the current monitor being iterated through. So when the foreground (focused) window was maximized, every borders on all monitors were being removed.This fix makes sure we check if the foreground window is on the monitor being iterated through and only remove the borders on that specific monitor.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.