Skip to content

Conversation

@shanselman
Copy link
Owner

This PR implements the hole punch (flashlight) feature across all connected monitors.

Key changes:

  • Refactored \MainWindow.xaml.cs\ to support multiple monitor contexts.
  • Enabled \PerMonitorV2\ DPI awareness in \�pp.manifest\ and \WindowsEdgeLight.csproj.
  • Implemented robust DPI handling to ensure the hole punch aligns correctly with the cursor on monitors with different scaling settings.
  • Fixed issues with monitor switching, including crashes, flashing, and incorrect window sizing.
  • Added \MonitorWindowContext\ to manage state for secondary monitor windows.

Fixes issues with cursor offset on mixed-DPI setups and ensures consistent visual behavior across all screens.

@shanselman
Copy link
Owner Author

@copilot review this and offer any thoughts or concerns?

Copy link
Contributor

Copilot AI commented Nov 24, 2025

@shanselman I've opened a new pull request, #19, to work on those changes. Once the pull request is ready, I'll request review from you.

@shanselman shanselman merged commit 9f04c45 into master Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants