This commit fixes an issue where the move/resize functions for floating windows weren't properly taking into account the coordinates of secondary monitors and were only working correctly on the main monitor where top/left was 0/0.
This issue was first brought up by a user on Discord
🔄 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/1338
**Author:** [@alex-ds13](https://github.com/alex-ds13)
**Created:** 3/12/2025
**Status:** ✅ Merged
**Merged:** 3/12/2025
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `fix/floating-move-on-secondary-monitors`
---
### 📝 Commits (1)
- [`ac2f139`](https://github.com/LGUG2Z/komorebi/commit/ac2f139366cb4c0f1010d47b1e0fa23b5888b4c5) fix(wm): correct float window move/resize
### 📊 Changes
**1 file changed** (+22 additions, -8 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/window_manager.rs` (+22 -8)
</details>
### 📄 Description
This commit fixes an issue where the move/resize functions for floating windows weren't properly taking into account the coordinates of secondary monitors and were only working correctly on the main monitor where top/left was 0/0.
This issue was first brought up by a user on [Discord](https://discord.com/channels/898554690126630914/1348547975055409152)
<!--
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/1338
Author: @alex-ds13
Created: 3/12/2025
Status: ✅ Merged
Merged: 3/12/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/floating-move-on-secondary-monitors📝 Commits (1)
ac2f139fix(wm): correct float window move/resize📊 Changes
1 file changed (+22 additions, -8 deletions)
View changed files
📝
komorebi/src/window_manager.rs(+22 -8)📄 Description
This commit fixes an issue where the move/resize functions for floating windows weren't properly taking into account the coordinates of secondary monitors and were only working correctly on the main monitor where top/left was 0/0.
This issue was first brought up by a user on Discord
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.