Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin the argument object before calling enumDisplayMonitors #37

Merged
merged 3 commits into from
Jan 18, 2025

Conversation

kbinani
Copy link
Owner

@kbinani kbinani commented Jan 18, 2025

In this PR, we address the issue reported and discussed in #36.
We’ve added logic to ensure the object passed to the callback doesn’t “move” in memory before and after the enumDisplayMonitors call.

@kbinani kbinani merged commit a3924b7 into master Jan 18, 2025
7 checks passed
@kbinani kbinani deleted the win-GetDisplayBounds-202501 branch January 18, 2025 07:41
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.

1 participant