mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1368] [CLOSED] fix(wm): remove monitor duplicated serial numbers #1360
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/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.