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

win: Added helper function to tell Windows to respect the users scaling settings #374

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

pentamassiv
Copy link
Collaborator

A flag needs to get set so that Windows knows the application is aware of the DPI. This needs to be done before any DPI related APIs are used or the UI gets started. Please look at the official documentation or the docs of the newly added helper function for more details and important gotchas.

Fixes #370

@pentamassiv pentamassiv merged commit 97d3b29 into enigo-rs:main Dec 18, 2024
24 checks passed
@pentamassiv pentamassiv deleted the win_scale branch December 18, 2024 23:23
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.

Mouse coordinate system in Windows is not scaled
1 participant