Skip to content

Pin the argument object before calling enumDisplayMonitors#37

Merged
kbinani merged 3 commits intomasterfrom
win-GetDisplayBounds-202501
Jan 18, 2025
Merged

Pin the argument object before calling enumDisplayMonitors#37
kbinani merged 3 commits intomasterfrom
win-GetDisplayBounds-202501

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