Skip to content

Implement monitor enumeration fallback#22

Merged
PrzemyslawKlys merged 1 commit intov2-speedygonzalesfrom
extend-monitornativemethods-and-update-monitorservice
Jun 18, 2025
Merged

Implement monitor enumeration fallback#22
PrzemyslawKlys merged 1 commit intov2-speedygonzalesfrom
extend-monitornativemethods-and-update-monitorservice

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • add EnumDisplayMonitors/GetMonitorInfo to native methods
  • introduce MONITORINFOEX struct for device names
  • fall back to native monitor enumeration when COM calls fail
  • extend GetMonitorBounds with native fallback logic
  • add test to verify fallback functionality

Testing

  • dotnet test Sources/DesktopManager.sln (tests skipped on non-Windows)

https://chatgpt.com/codex/tasks/task_e_68529ea17f50832eb46ac402b02c0533

@PrzemyslawKlys PrzemyslawKlys merged commit 54adda7 into v2-speedygonzales Jun 18, 2025
7 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the extend-monitornativemethods-and-update-monitorservice branch June 18, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant