Apparently some monitors (:cough: Acer :cough:) show up with duplicated serial number ids. This would cause multiple issues. This commit adds a check to the monitors listing functions that checks if that monitor serial number id already exists and if it does, it removes the serial number id from the duplicated ones forcing them to use the device_id.
🔄 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/1368
**Author:** [@alex-ds13](https://github.com/alex-ds13)
**Created:** 3/20/2025
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `fix/monitor-dupes`
---
### 📝 Commits (1)
- [`8d552b0`](https://github.com/LGUG2Z/komorebi/commit/8d552b0ad6bbcc00c92e2006af775b931e1a7c13) fix(wm): remove monitor duplicated serial numbers
### 📊 Changes
**2 files changed** (+24 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/monitor_reconciliator/mod.rs` (+12 -1)
📝 `komorebi/src/windows_api.rs` (+12 -1)
</details>
### 📄 Description
Apparently some monitors (:cough: Acer :cough:) show up with duplicated serial number ids. This would cause multiple issues. This commit adds a check to the monitors listing functions that checks if that monitor serial number id already exists and if it does, it removes the serial number id from the duplicated ones forcing them to use the device_id.
<!--
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/1368
Author: @alex-ds13
Created: 3/20/2025
Status: ❌ Closed
Base:
master← Head:fix/monitor-dupes📝 Commits (1)
8d552b0fix(wm): remove monitor duplicated serial numbers📊 Changes
2 files changed (+24 additions, -2 deletions)
View changed files
📝
komorebi/src/monitor_reconciliator/mod.rs(+12 -1)📝
komorebi/src/windows_api.rs(+12 -1)📄 Description
Apparently some monitors (:cough: Acer :cough:) show up with duplicated serial number ids. This would cause multiple issues. This commit adds a check to the monitors listing functions that checks if that monitor serial number id already exists and if it does, it removes the serial number id from the duplicated ones forcing them to use the device_id.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.